Joshua 23:6

4 See, I have allotted as an inheritance to your tribes these remaining nations, including all the nations I have already cut off, from the Jordan westward to the Great Sea.

5 The LORD your God will push them out of your way and drive them out before you, so that you can take possession of their land, as the LORD your God promised you.

Be very strong, then, so that you can keep and obey all that is written in the Book of the Law of Moses, not turning aside from it to the right or to the left.

7 So you are not to associate with these nations that remain among you. You must not call on the names of their gods or swear by them, and you must not serve them or bow down to them.

8 Instead, you shall hold fast to the LORD your God, as you have done to this day.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
Be very strong, then, so that you can keep and obey all that is written in the Book of the Law of Moses, not turning aside from it to the right or to the left.
KJV
Be ye therefore very courageous to keep and to do all that is written in the book of the law of Moses, that ye turn not aside therefrom to the right hand or to the left;
WEB
“Therefore be very courageous to keep and to do all that is written in the book of the law of Moses, that you not turn away from it to the right hand or to the left;
ASV
Therefore be ye very courageous to keep and to do all that is written in the book of the law of Moses, that ye turn not aside therefrom to the right hand or to the left;
DARBY
And be ye very courageous to keep and to do all that is written in the book of the law of Moses, that ye turn not aside therefrom to the right hand or to the left;
BLB
And be very courageous to keep and to do everything written in the Book of the Law of Moses, lest you turn aside from it to the right hand or to the left,
ÅB
Så vær nå faste i å holde og gjøre alt det som er skrevet i Mose lovbok, så dere ikke viker derfra hverken til høyre eller til venstre,
OTB
Vær meget bestemte på å følge og gjøre alt som er skrevet i Mose lovbok, uten å avvike til høyre eller venstre,
B1930
Så vær nu faste i å holde og gjøre alt det som er skrevet i Mose lovbok, så I ikke viker derfra hverken til høire eller til venstre,

Study notes (Tyndale)

Original text and word study

Cross references