Joshua 23:6

6 "Be very strong, and continue obeying all that is written in the book of the law of Moses, so that you do not turn from it to the right or left

Joshua 23:6 Meaning and Commentary

Joshua 23:6

Be ye therefore very courageous to keep and to do all that is
written in the book of the law of Moses
To observe which required spiritual strength, fortitude of mind, a holy courage, a firm and fixed resolution, and particularly to destroy the Canaanites required in that book, and to abstain from all communion and fellowship with them:

that ye turn not aside therefrom, [to] the right hand or the left;
(See Gill on Joshua 1:7).

Joshua 23:6 In-Context

4 See, I have allotted these remaining nations to you as an inheritance for your tribes, including all the nations I have destroyed, from the Jordan westward to the Mediterranean Sea
5 The Lord your God will force them back on your account and drive them out before you, so that you can take possession of their land, as the Lord your God promised you.
6 "Be very strong, and continue obeying all that is written in the book of the law of Moses, so that you do not turn from it to the right or left
7 and so that you do not associate with these nations remaining among you. Do not call on the names of their gods or make an oath to them; do not worship them or bow down to them.
8 Instead, remain faithful to the Lord your God, as you have done to this day.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.