I have assigned as the possession of your tribes the land of the nations that are still left, as well as of all the nations that I have already conquered, from the Jordan River in the east to the Mediterranean Sea in the west.
The LORD your God will make them retreat from you, and he will drive them away as you advance. You shall have their land, as the LORD your God has promised you.
and then you will not associate with these peoples left among you or speak the names of their gods or use those names in taking vows or worship those gods or bow down to them.
you may be sure that the LORD your God will no longer drive these nations out as you advance. Rather, they will be as dangerous for you as a trap or a pit and as painful as a whip on your back or thorns in your eyes. And this will last until none of you are left in this good land which the LORD your God has given you.
"Now my time has come to die. Every one of you knows in his heart and soul that the LORD your God has given you all the good things that he promised. Every promise he made has been kept; not one has failed.
If you do not keep the covenant which the LORD your God commanded you to keep and if you serve and worship other gods, then in his anger he will punish you, and soon none of you will be left in this good land that he has given you."