38 Then Joshua and all Israel went back to Debir and attacked it.
39 He captured it and its king and all its neighboring villages and killed everyone. So they claimed them all for the Lord by destroying them. There were no survivors. He did the same thing to Debir and its king that he had done to Hebron and Libnah and their kings.
40 So Joshua captured the whole land—the mountains, the Negev, the foothills, and the slopes. There were no survivors. He claimed every living creature for the Lord by destroying it, as the Lord God of Israel had commanded.
41 So Joshua defeated the people from Kadesh Barnea to Gaza and from all the country of Goshen as far as Gibeon.
42 Joshua captured all these kings and their territories in one campaign because the Lord God of Israel fought for Israel.
43 Then Joshua and all Israel returned to the camp at Gilgal.