A long time afterward, the LORD gave the Israelites peace with all their enemies around them. Joshua was old, near the end of his life.
So he called all the leaders, chiefs, judges, and officers of Israel together. He said to them, "I am old, near the end of my life.
You have seen for yourselves everything the LORD your God did to all those nations. The LORD your God fought for you!
I have given you the territory of the nations that still remain as an inheritance for your tribes. This includes the territory of all the nations I have already destroyed from the Jordan River westward to the Mediterranean Sea
The LORD your God will expel them right in front of your eyes and force them out of your way. You will take their land as the LORD your God told you.
Now you must be very strong to keep and to do everything written in the Book of Moses' Teachings. Don't turn away from them.
Don't get mixed up with the nations left in your territory. Don't ever mention the names of their gods or swear an oath to them. Don't ever serve their gods or bow down to them.
But you must be loyal to the LORD your God, as you have been until now.
The LORD has forced important and powerful nations out of your way. Not one person has ever been able to stand up to you.
One of you used to chase a thousand. That was because the LORD your God was fighting for you, as he had promised you.
Be very careful to love the LORD your God.
"But if you turn away and go along with the other nations within your [borders], if you intermarry with them or associate with them,
then you should know that the LORD your God will never again force these people out of your way. Instead, they will be a snare and a trap for you, a whip laid to your sides, and thorns in your eyes until none of you are left in this good land that the LORD your God has given you.
"Pay attention, because I will soon die like everyone else. You know with all your heart and soul that not one single promise which the LORD your God has given you has ever failed to come true. Every single word has come true
"Every good word the LORD your God has promised you has come true for you. In the same way the LORD will bring about every evil curse until he has destroyed you from this good land that he has given you.
When you ignore the conditions placed on you by the LORD your God and follow other gods, serve them and bow down to them, the LORD will be angry with you. Then you will quickly disappear from the good land he has given you."