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

Joshua 23:8

But ye shall cleave to the Lord our God, as ye have done until this day.

Read in other translations