Joshua 10:27-28 (WEB)
27 At the time of the going down of the sun, Joshua commanded, and they took them down off the trees, and threw them into the cave in which they had hidden themselves, and laid great stones on the mouth of the cave, which remain to this very day.
28 Joshua took Makkedah on that day, and struck it with the edge of the sword, with its king. He utterly destroyed it and all the souls who were in it. He left no one remaining. He did to the king of Makkedah as he had done to the king of Jericho.
About Joshua 10: Joshua 10 records the southern campaign after Israel has secured the central hill country. Five Amorite kings, led by Jerusalem, form a coalition to attack Gibeon, which had made peace with Israel. The Gibeonites send urgent word to Joshua at Gilgal (verses 6-7). Joshua marches all night to arrive by dawn, showing his military competence and the Lord’s guidance in timing. The battle begins with divine confusion among the enemy ranks, described as great hailstones from heaven striking down more foes than the Israelite swords did (verse 11). Read the study notes
2 verses · Compare in parallel · Read all of Joshua 10