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

Joshua 8:9

Joshua therefore sent them forth: and they went to lie in ambush, and abode between Beth–el and Ai, on the west side of Ai: but Joshua lodged that night among the people.

Read in other translations