Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
KJV

Joshua 10:31

And Joshua passed from Libnah, and all Israel with him, unto Lachish, and encamped against it, and fought against it:

Read in other translations