Joshua 10:32-42

32 And the Lord gave Lachish into the hands of Israel, and on the second day he took it, putting it and every person in it to the sword without mercy, as he had done to Libnah.
33 Then Horam, king of Gezer, came up to the help of Lachish; and Joshua overcame him and his people, putting all of them to death.
34 And Joshua and all Israel with him went on from Lachish to Eglon: and they took up their position against it and made an attack on it;
35 And that day they took it, putting it and every person in it to the sword, as he had done to Lachish.
36 And Joshua and all Israel with him went up from Eglon to Hebron, and made an attack on it;
37 And took it, overcoming it and putting it and its king and its towns and every person in it to the sword: as he had done to Eglon, he put them all to death, and gave it up to the curse with every person in it.
38 And Joshua and all Israel with him went on to make an attack on Debir;
39 And he took it, with its king and all its towns: and he put them to the sword, giving every person in it to the curse; all were put to death: as he had done to Hebron, so he did to Debir and its king.
40 So Joshua overcame all the land, the hill-country and the South and the lowland and the mountain slopes, and all their kings; all were put to death: and every living thing he gave up to the curse, as the Lord, the God of Israel, had given him orders.
41 Joshua overcame them from Kadesh-barnea to Gaza, and all the land of Goshen as far as Gibeon.
42 And all these kings and their land Joshua took at the same time, because the Lord, the God of Israel, was fighting for Israel.