23:1  And it came to pass many days after the LORD had given rest to Israel from all their enemies all around, Joshua became old, advanced in age.

23:2  And Joshua called for all Israel, for their elders and for their heads, and for their judges, and for their officers, and said to them, "I am old, advanced in age.

23:3  And 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.

23:4  Behold, I have divided to you by lot these nations that are left to be an inheritance for your tribes, from Jordan, with all the nations that I have cut off, even to the Great Sea westward.

23:5  And the LORD your God shall put them out from before you, and drive them out of your sight. And you shall possess their land as the LORD your God has promised to you.

23:6  And be very courageous to keep and to do all that is written in the book of the law of Moses, so that you do not turn aside from it to the right or to the left,

23:7  So that you do not mix with these nations, these that remain among you. Neither make mention of the name of their gods, nor cause to swear by them. Neither serve them, nor bow yourselves to them.

23:8  But cleave to the LORD your God, as you have done to this day,

23:9  For the LORD has driven out from before you great and strong nations. But as for you, no one has been able to stand before you to this day.

23:10  One man of you shall chase a thousand, for the LORD your God is He Who fights for you, as He has promised you.

23:11  Therefore take good heed to yourselves to love the LORD your God.

23:12  Otherwise, if you go back in any way, and cleave to those left of these nations that remain among you, and shall marry them and go in to them and they to you,

23:13  Know for a certainty that the LORD your God will not continue to drive out these nations from before you. But they shall be snares and traps to you, and whips in your sides, and thorns in your eyes until you perish from off this good land which the LORD your God has given you.

23:14  And behold, today I am going the way of all the earth. And you know in all your hearts and in all your souls that not one thing has failed of all the good things which the LORD your God spoke concerning you. All have come to pass to you. Not one thing of it has failed.

23:15  But just as all the good things concerning you which the LORD your God has spoken to you have been fulfilled, so shall the LORD bring upon you every evil thing until He has destroyed you from off this good land which the LORD your God has given you,

23:16  When you have transgressed the covenant of the LORD your God, which He commanded you, and have gone and served other gods, and bowed yourselves to them, then shall the anger of the LORD be kindled against you, and you shall perish quickly from off the good land which He has given to you."