Joshua 23:3-6 New King James Version (NKJV)

3. You have seen all that the Lord your God has done to all these nations because of you, for the Lord your God is He who has fought for you.

4. See, I have divided to you by lot these nations that remain, to be an inheritance for your tribes, from the Jordan, with all the nations that I have cut off, as far as the Great Sea westward.

5. And the Lord your God will expel them from before you and drive them out of your sight. So you shall possess their land, as the Lord your God promised you.

6. Therefore be very courageous to keep and to do all that is written in the Book of the Law of Moses, lest you turn aside from it to the right hand or to the left,

Joshua 23