Read Joshua 10:35 Using Other Translations
And they took it on that day, and smote it with the edge of the sword, and all the souls that were therein he utterly destroyed that day, according to all that he had done to Lachish.
And they captured it on that day, and struck it with the edge of the sword. And he devoted every person in it to destruction that day, as he had done to Lachish.
They captured it that day and killed everyone in it. He completely destroyed everyone, just as he had done at Lachish.