A long time afterwards, when ADONAI had given Isra'el rest from all their surrounding enemies, and Y'hoshua was old, with age taking its toll,
Y'hoshua summoned all Isra'el - their leaders, heads, judges and officials - and said to them, "I am old; age is taking its toll.
You have seen everything that ADONAI your God has done to all these nations because of you, for it is ADONAI your God who has fought on your behalf.
Here, I have allotted to you land for inheritance according to your tribes between the Yarden and the Great Sea to the west; it includes the land of the nations I have destroyed and the nations which remain
ADONAI your God will thrust them out ahead of you and drive them out of your sight, so that you will possess their land, as ADONAI your God told you.
"Therefore be very firm about keeping and doing everything written in the book of the Torah of Moshe and not turning aside from it either to the right or to the left.
Then you won't become like those nations remaining among you. Don't even mention the name of their gods, let alone have people swear by them, serve them or worship them;
but cling to ADONAI your God, as you have done to this day.
This is why ADONAI has driven out great, strong nations ahead of you; and it explains why no one has prevailed against you to this day,
why one man of you has chased a thousand - it is because ADONAI your God has fought on your behalf, as he said to you.
"Therefore take great care to love ADONAI your God.
Otherwise, if you retreat and cling to the remnant of these other nations remaining among you, if you make marriages with them and have children with them and they with you,
know for certain that ADONAI your God will stop driving out these nations from your sight. Instead, they will become a snare and a trap for you, whipping your sides and pricking your eyes, until you perish from this good land which ADONAI your God has given you.
"Today I am going the way of all the earth. Therefore consider in all your heart and being that not one of all the good things ADONAI your God said concerning you has failed to happen; it has all come to pass; nothing of it has failed
Nevertheless, just as all the good things ADONAI your God promised you have come upon you, likewise ADONAI will bring upon you all the bad things too, until he has destroyed you from this good land which ADONAI your God has given you.
When you violate the covenant of ADONAI your God, which he ordered you to obey, and go and serve other gods and worship them, then the anger of ADONAI will blaze up against you; and you will perish quickly from the good land which he has given you!"