1 Many years later, after the LORD had given peace between Israel and all its surrounding enemies, and after Joshua had become very old, 2 Joshua called together all Israel, including their leaders, officials, judges, and tribal officers. He told them, "I am old now after having lived many years. 3 You have seen everything that the LORD your God has done to all of these nations on your behalf, because it has been the LORD your God who has been fighting on your behalf. 4 Now look, I have allocated these nations that remain as an inheritance for your tribes, including all of the nations that I have eliminated, from the Jordan River to the Mediterranean Sea to the west. 5 The LORD your God will expel them in front of you, driving them out of your sight. You will take possession of this land, just as the LORD your God promised you.
6 Stand very strong, then, so you can obey and carry out everything written in the Book of the Law of Moses, turning neither to the right nor to the left of it. 7 That way, you will not mingle with those nations that remain among you, nor mention the name of their gods, nor make oaths by them, nor serve them, nor worship them. 8 Instead, you are to hold fast to the LORD your God, as you have done today,
9 because the LORD has expelled great and strong nations ahead of you. Now as for you, not a single man has been able to oppose you right to this day. 10 A single man makes a thousand flee, because the LORD your God is the one who is fighting for you, just as he promised you. 11 "So be very diligent to love the LORD your God, 12 because if you ever turn back and cling to those who remain of these nations by intermarrying with them and associating one with another, 13 know for certain that the LORD your God will not continue to drive out these nations ahead of you. Instead, they will be a snare and a trap for you, a whip to your backs, and thorns in your eyes, until you perish from this good land that the LORD your God has given you.
14 "Look here: today I'm going down the path that everyone on earth takes, and you know with all your hearts and souls that not a single word of all of the good things that the LORD your God spoke about you has failed to happen. Everything has been fulfilled about you not one of them has failed. 15 However, just as all of the good things have come about that the LORD your God promised, so also the LORD will bring upon you all of the threats until he has destroyed you from possessing this good land that he has given you. 16 When you break the covenant of the LORD your God that he commanded you to obey by going to serve other gods and worship them, then the anger of the LORD will blaze against you, and you will perish quickly from this good land that he gave you."