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

Joshua 23:8

but hold fast to Yahweh your God, as you have done to this day.

Read in other translations