Joshua 1:7

Above all, be strong and very courageous. Be careful to observe all the law that My servant Moses commanded you. Do not turn from it to the right or to the left, so that you may prosper wherever you go.
BSB · Berean Standard Bible
Only be thou strong and very courageous, that thou mayest observe to do according to all the law, which Moses my servant commanded thee: turn not from it to the right hand or to the left, that thou mayest prosper whithersoever thou goest.

Note prosper: or, do wisely

KJV · King James Version
Only be strong and very courageous. Be careful to observe to do according to all the law which Moses my servant commanded you. Don’t turn from it to the right hand or to the left, that you may have good success wherever you go.
WEB · World English Bible
Only be strong and very courageous, to observe to do according to all the law, which Moses my servant commanded thee: turn not from it to the right hand or to the left, that thou mayest have good success whithersoever thou goest.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

which Moses
Joshua 1:1; Joshua 11:15; Numbers 27:23; Deuteronomy 31:7
turn not
Deuteronomy 5:32; Deuteronomy 12:32; Deuteronomy 28:14; Proverbs 4:27; Proverbs 8:20
that
Deuteronomy 29:9; 1 Kings 2:3; 1 Chronicles 22:13
prosper
or, do wisely.
Joshua 1:8