32 The LORD gave Lachish into Israel’s hands, and Joshua took it on the second day. The city and everyone in it he put to the sword, just as he had done to Libnah.

Read Joshua 10:32 Using Other Translations

And the LORD delivered Lachish into the hand of Israel, which took it on the second day, and smote it with the edge of the sword, and all the souls that were therein, according to all that he had done to Libnah.
And the LORD gave Lachish into the hand of Israel, and he captured it on the second day and struck it with the edge of the sword, and every person in it, as he had done to Libnah.
Here again, the LORD gave them Lachish. Joshua took it on the second day and killed everyone in it, just as he had done at Libnah.