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

Joshua 2:8

And before they were laid down, she came up unto them upon the roof;

Read in other translations