that Joshua called for all Israel, for their elders and their heads and their judges and their officers, and said to them, “I am old, advanced in years.
See, I have allotted to you these nations which remain as an inheritance for your tribes, with all the nations which I have cut off, from the Jordan even to the Great Sea toward the setting of the sun.
And Yahweh your God, He will thrust them out from before you and dispossess them before you; and you will possess their land, just as Yahweh your God promised you.
Be very strong, then, to keep and to do all that is written in the book of the law of Moses, so that you may not turn aside from it to the right hand or to the left,
so that you will not go along with these nations, these which remain among you, and you will not mention the name of their gods, and you will not make anyone swear by them, and you will not serve them, and you will not bow down to them.
For if you ever turn back and cling to the rest of these nations, these which remain among you, and intermarry with them, so that you go along with them and they with you,
know with certainty that Yahweh your God will not continue to dispossess these nations from before you; but they will be a snare and a trap to you and a whip on your sides and thorns in your eyes, until you perish from off this good land which Yahweh your God has given you.
“Now 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 word of all the good words which Yahweh your God spoke concerning you has failed; all have come to pass for you; not one word of them has failed.
And it will be that just as all the good words which Yahweh your God spoke to you have come upon you, so Yahweh will bring upon you all the calamitous words, until He has destroyed you from off this good land which Yahweh your God has given you.
When you trespass against the covenant of Yahweh your God, which He commanded you, and go and serve other gods and bow down to them, then the anger of Yahweh will burn against you, and you will perish quickly from off the good land which He has given you.”