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

Joshua 1:8

And the book of this law shall not depart out of thy mouth, and thou shalt meditate in it day and night, that thou mayest know how to do all the things that are written [in it]; then shalt thou prosper, and make thy ways prosperous, and then shalt thou be wise.

Read in other translations