Joshua 10:39-40 (WEB)
39 He took it, with its king and all its cities. They struck them with the edge of the sword, and utterly destroyed all the souls who were in it. He left no one remaining. As he had done to Hebron, so he did to Debir, and to its king; as he had done also to Libnah, and to its king.
40 So Joshua struck all the land, the hill country, the South, the lowland, the slopes, and all their kings. He left no one remaining, but he utterly destroyed all that breathed, as the LORD, the God of Israel, commanded.
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