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

Joshua 2:20

And if thou utter this our business, then we will be quit of thine oath which thou hast made us to swear.

Read in other translations