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

Joshua 2:2

And it was reported to the king of Jericho, saying, Men of the sons of Israel have come in hither to spy the land.

Read in other translations