At this time Joshua called a meeting of all the older leaders, heads of families, judges, and officers of the Israelites. Joshua said, "I have grown very old.
Remember that I told you that your people could have the land between the Jordan River and the Mediterranean Sea in the west. I promised to give you that land, but you don't control it yet. I have taken the land away from those nations, but they are still living there.
But the Lord your God will force the people living there to leave. You will take that land. The Lord will force them to leave. The Lord your God promised to do this for you.
"You must be careful to obey everything the Lord has commanded us. Obey everything that is written in the Book of the Law of Moses. Don't turn away from that law.
There are still some people living among us who are not Israelites. They worship their own gods. Don't become friends with them. Don't serve or worship their gods.
"Don't stop following the Lord. Don't become friends with these other people who are not part of Israel. Don't marry any of their people. But if you do become friends with these people,
then the Lord your God will not help you defeat your enemies. They will become like a trap for you. They will cause you pain—like smoke and dust in your eyes. And you will be forced to leave this good land. The Lord your God gave you this land. But you can lose it if you don't obey this command.
"It is almost time for me to die. You know and really believe that the Lord has done many great things for you. You know that the Lord your God has not failed in any of his promises. He has kept every promise that he has made to us.
Every good promise that the Lord your God made to us has come true. But in the same way, the Lord will make his other promises come true. He promised that if you do wrong, bad things will happen to you. He promised that he will force you to leave this good land that the Lord your God has given to you.
This will happen if you refuse to keep your agreement with the Lord your God. You will lose this land if you go and serve other gods. You must not worship those other gods. If you do, the Lord will become very angry with you. Then you will quickly be forced to leave this good land that he gave you."