39 He captured the town, its king, and all of its surrounding villages. He completely destroyed everyone in it, leaving no survivors. He did to Debir and its king just what he had done to Hebron and to Libnah and its king. 40 So Joshua conquered the whole region-the kings and people of the hill country, the Negev, the western foothills, and the mountain slopes. He completely destroyed everyone in the land, leaving no survivors, just as the Lord, the God of Israel, had commanded. 41 Joshua slaughtered them from Kadesh-barnea to Gaza and from the region around the town of Goshen up to Gibeon. 42 Joshua conquered all these kings and their land in a single campaign, for the Lord, the God of Israel, was fighting for his people. 43 Then Joshua and the Israelite army returned to their camp 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?