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

Joshua 24:25

So Joshua made a covenant with the people that day, and set them a statute and an ordinance in Shechem.

Read in other translations