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

Joshua 8:34

And afterward he read all the words of the law, the blessings and cursings, according to all that is written in the book of the law.

Read in other translations