He captured it, its king, and all its towns, struck them down with the sword, and devoted everyone in it to destruction, leaving no survivor. He did to Debir and its king as he had done to Hebron, and as he had done to Libnah and its king.
In context
37They captured it and struck it down with the sword, its king, all its towns, and everyone in it, leaving no survivor — just as he had done to Eglon. He devoted it and everyone in it to destruction. 38Then Joshua, and all Israel with him, turned back to Debir and attacked it. 39He captured it, its king, and all its towns, struck them down with the sword, and devoted everyone in it to destruction, leaving no survivor. He did to Debir and its king as he had done to Hebron, and as he had done to Libnah and its king. 40So Joshua struck the whole region — the hill country, the Negev, the lowlands, and the slopes — with all their kings, leaving no survivor. He devoted to destruction everything that breathed, just as Yahweh, the God of Israel, had commanded. 41Joshua struck them down from Kadesh-barnea to Gaza, and the whole region of Goshen, as far as Gibeon.