The years passed, and the had given the people of Israel rest from all their enemies. Joshua, who was now very old,
called together all the elders, leaders, judges, and officers of Israel. He said to them, “I am now a very old man.
You have seen everything the your God has done for you during my lifetime. The your God has fought for you against your enemies.
I have allotted to you as your homeland all the land of the nations yet unconquered, as well as the land of those we have already conquered—from the Jordan River to the Mediterranean Sea in the west.
References for Joshua 23:4
This land will be yours, for the your God will himself drive out all the people living there now. You will take possession of their land, just as the your God promised you.
“So be very careful to follow everything Moses wrote in the Book of Instruction. Do not deviate from it, turning either to the right or to the left.
Make sure you do not associate with the other people still remaining in the land. Do not even mention the names of their gods, much less swear by them or serve them or worship them.
Rather, cling tightly to the your God as you have done until now.
“For the has driven out great and powerful nations for you, and no one has yet been able to defeat you.
Each one of you will put to flight a thousand of the enemy, for the your God fights for you, just as he has promised.
So be very careful to love the your God.
“But if you turn away from him and cling to the customs of the survivors of these nations remaining among you, and if you intermarry with them,
then know for certain that the your God will no longer drive them out of your land. Instead, they will be a snare and a trap to you, a whip for your backs and thorny brambles in your eyes, and you will vanish from this good land the your God has given you.
“Soon I will die, going the way of everything on earth. Deep in your hearts you know that every promise of the your God has come true. Not a single one has failed!
But as surely as the your God has given you the good things he promised, he will also bring disaster on you if you disobey him. He will completely destroy you from this good land he has given you.
If you break the covenant of the your God by worshiping and serving other gods, his anger will burn against you, and you will quickly vanish from the good land he has given you.”