Joshua 23:6

6 Do ye therefore strive diligently to observe and do all things written in the book of the law of Moses, that ye turn not to the right hand or to the 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, that I have given to you these nations that are left to you by lots to your tribes, all the nations beginning at Jordan; and I have destroyed; and the boundaries shall be at the great sea westward.
5 And the Lord our God, he shall destroy them before us, until they utterly perish; and he shall send against them the wild beasts, until he shall have utterly destroyed them and their kings from before you; and ye shall inherit their land, as the Lord our God said to you.
6 Do ye therefore strive diligently to observe and do all things written in the book of the law of Moses, that ye turn not to the right hand or to the left;
7 that ye go not in among these nations that are left; and the names of their gods shall not be named among you, neither shall ye serve them, neither shall ye bow down to them.
8 But ye shall cleave to the Lord our God, as ye have done until this day.

The Brenton translation of the Septuagint is in the public domain.