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

Joshua 2:1

And Joshua the son of Naue sent out of Sattin two young men to spy [the land], saying, Go up and view the land and Jericho: and the two young men went and entered into Jericho; and they entered into the house of a harlot, whose name [was] Raab, and lodged there.

Read in other translations