38 Then Joshua and his army turned back to Debir and attacked it.
39 He captured it, with its king and all the nearby towns. They put everyone there to death. Joshua did to Debir and its king what he had done to Hebron and to Libnah and its king.
40 Joshua conquered the whole land. He defeated the kings of the hill country, the eastern slopes, and the western foothills, as well as those of the dry country in the south. He spared no one; everyone was put to death. This was what the Lord God of Israel had commanded.
41 Joshua's campaign took him from Kadesh Barnea in the south to Gaza near the coast, including all the area of Goshen, and as far north as Gibeon.
42 Joshua conquered all these kings and their territory in one campaign because the Lord, Israel's God, was fighting for Israel.
43 After this, Joshua and his army went back to the camp at Gilgal.