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. 43 Then Joshua and all Israel with him went back to their tents at Gilgal.

Matthew Henry's Commentary on Joshua 10:39-56

Commentary on Joshua 10:28-43

(Read Joshua 10:28-43)

Joshua made speed in taking these cities. See what a great deal of work may be done in a little time, if we will be diligent, and improve our opportunities. God here showed his hatred of the idolatries and other abominations of which the Canaanites had been guilty, and shows us how great the provocation was, by the greatness of the destruction brought upon them. Here also was typified the destruction of all the enemies of the Lord Jesus, who, having slighted the riches of his grace, must for ever feel the weight of his wrath. The Lord fought for Israel. They could not have gotten the victory, if God had not undertaken the battle. We conquer when God fights for us; if he be for us, who can be against us?