Read Joshua 10:37 Using Other Translations
And they took it, and smote it with the edge of the sword, and the king thereof, and all the cities thereof, and all the souls that were therein; he left none remaining, according to all that he had done to Eglon; but destroyed it utterly, and all the souls that were therein.
and captured it and struck it with the edge of the sword, and its king and its towns, and every person in it. He left none remaining, as he had done to Eglon, and devoted it to destruction and every person in it.
They captured the town and killed everyone in it, including its king, leaving no survivors. They did the same thing to all of its surrounding villages. And just as he had done at Eglon, he completely destroyed the entire population.