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

Joshua 8:17

And there was not a man left in Ai or Beth–el, that went not out after Israel: and they left the city open, and pursued after Israel.

Read in other translations