35 On that day they captured it and struck it down, putting everyone in it to the sword. He completely destroyed it that day, just as he had done to Lachish.
36 Next, Joshua and all Israel with him went up from Eglon to Hebron(A) and attacked it. 37 They captured it and struck down its king, all its villages, and everyone in it with the sword. He left no survivors, just as he had done at Eglon. He completely destroyed Hebron and everyone in it.
38 Finally, Joshua turned toward Debir(B) 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,(a) 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.(C)

Footnotes:

a. Joshua 10:40: Or the Shephelah

Holman Christian Standard Bible®, Copyright © 1999, 2000, 2002, 2003, 2009 by Holman Bible Publishers.