Joshua 23:6

6 So be careful to obey and do everything that is written in the book of the Law of Moses. Do not neglect any part of it,

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 I have assigned as the possession of your tribes the land of the nations that are still left, as well as of all the nations that I have already conquered, from the Jordan River in the east to the Mediterranean Sea in the west
5 The Lord your God will make them retreat from you, and he will drive them away as you advance. You shall have their land, as the Lord your God has promised you.
6 So be careful to obey and do everything that is written in the book of the Law of Moses. Do not neglect any part of it,
7 and then you will not associate with these peoples left among you or speak the names of their gods or use those names in taking vows or worship those gods or bow down to them.
8 Instead, be faithful to the Lord, as you have been till now.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.