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

Joshua 22:25

Whereas the Lord has set boundaries between us and you, even Jordan, and ye have no portion in the Lord: so your sons shall alienate our sons, that they should not worship the Lord.

Read in other translations