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

Joshua 2:20

But if any one should injure us, or betray these our matters, we shall be quit of this thine oath.

Read in other translations