38 Finally, Joshua turned toward Debir and attacked it. And all Israel was with him.
39 He captured it — its king and all its villages. They struck them down with the sword and completely destroyed everyone in it, leaving no survivors. He treated Debir and its king as he had treated Hebron and as he had treated Libnah and its king.
40 So Joshua conquered the whole region — the hill country, the Negev, the Judean foothills, and the slopes — with all their kings, leaving no survivors. He completely destroyed every living being, as the Lord, the God of Israel, had commanded.
41 Joshua conquered everyone from Kadesh-barnea to Gaza, and all the land of Goshen as far as Gibeon.
42 Joshua captured all these kings and their land in one campaign, because the Lord, the God of Israel, fought for Israel.
43 Then Joshua returned with all Israel to the camp at Gilgal.