KJV
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.
BSB
That day they captured Eglon and put it to the sword, and Joshua devoted to destruction everyone in the city, just as he had done to Lachish.