Yehoshua 23:6

6 Therefore chazak! Be very courageous to be shomer and to do all that is written in the Sefer Torah Moshe, that ye turn not aside therefrom to the right or to the left;

Yehoshua 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).

Yehoshua 23:6 In-Context

4 Remember I have allotted unto you these Goyim that remain, to be a nachalah for your shvatim, from the Yarden, even kol HaGoyim that I have cut off, even unto the Yam HaGadol [Mediterranean Sea] toward the setting of the shemesh.
5 And Hashem Eloheichem, He shall expel them from before you, and drive them from out of your sight; and ye shall possess their land, just as Hashem Eloheichem hath promised unto you.
6 Therefore chazak! Be very courageous to be shomer and to do all that is written in the Sefer Torah Moshe, that ye turn not aside therefrom to the right or to the left;
7 That ye come not among these Goyim, these that remain among you; neither make mention of the shem of eloheihem, nor have to swear by them, neither serve them, nor bow down unto them;
8 But have deveykus unto Hashem Eloheichem, just as ye have done unto this day.
The Orthodox Jewish Bible fourth edition, OJB. Copyright 2002,2003,2008,2010, 2011 by Artists for Israel International. All rights reserved.