Joshua 10:32

30 And the LORD also delivered that city and its king into the hand of Israel, and Joshua put all the people to the sword, leaving no survivors. And he did to the king of Libnah as he had done to the king of Jericho.

31 And Joshua and all Israel with him moved on from Libnah to Lachish. They laid siege to it and fought against it.

And the LORD delivered Lachish into the hand of Israel, and Joshua captured it on the second day. He put all the people to the sword, just as he had done to Libnah.

33 At that time Horam king of Gezer went to help Lachish, but Joshua struck him down along with his people, leaving no survivors.

34 So Joshua moved on from Lachish to Eglon, and all Israel with him. They laid siege to it and fought against it.

Here the Bible tells a story about someone else. Ask yourself what it can say to us today. Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
And the LORD delivered Lachish into the hand of Israel, and Joshua captured it on the second day. He put all the people to the sword, just as he had done to Libnah.
KJV
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.
WEB
The LORD delivered Lachish into the hand of Israel. He took it on the second day, and struck it with the edge of the sword, with all the souls who were in it, according to all that he had done to Libnah.
ASV
and Jehovah delivered Lachish into the hand of Israel; and he 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.
DARBY
And Jehovah gave Lachish into the hand of Israel; and they 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.
BLB
And YHWH delivered Lachish into the hand of Israel, and he took it on the second day and struck it with the mouth of the sword, and every soul who [was] in it, according to all that he had done to Libnah.
ÅB
Og Herren gav Lakis i Israels hånd; den annen dag inntok han byen og slo den med sverdets egg og hugg ned hver sjel som var der, aldeles som han hadde gjort med Libna.
OTB
Herren overgav Lakisj til Israel, og Josva inntok det på den andre dagen. Han slo det med sverdet, slik han hadde gjort med Libna.
B1930
Og Herren gav Lakis i Israels hånd; den annen dag inntok han byen og slo den med sverdets egg og hugg ned hver sjel som var der, aldeles som han hadde gjort med Libna.

Study notes (Tyndale)

Original text and word study