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

Joshua 24:23

Now therefore put away, said he, the strange gods which are among you, and incline your heart unto the Lord God of Israel.

Read in other translations