1 Many days later, after the LORD had given Israel rest from all the enemies around them, and Joshua had grown old and was well along in years,
2 Joshua called for all Israel, their elders, leaders, judges, and officials, and said to them, "I have grown old and am well along in years.
3 You yourselves have seen everything the LORD your God has done to all these nations for your sake, for it was the LORD your God who fought for you.
4 Look, I have allotted to you as an inheritance for your tribes the nations that remain, together with all the nations I have already destroyed, from the Jordan to the Great Sea in the west.
5 The LORD your God himself will thrust them out ahead of you and drive them out of your way, and you will take possession of their land, as the LORD your God promised you.
6 So be very firm in keeping and doing everything written in the book of the law of Moses, without turning aside from it to the right or the left.
7 Do not associate with these nations that are left among you. Do not invoke the names of their gods or make anyone swear by them; do not serve them or bow down to them.
8 Instead, hold fast to the LORD your God, as you have done until now.
9 The LORD has driven out great and powerful nations before you, and to this day no one has been able to withstand you.
10 A single one of you routs a thousand, because the LORD your God fights for you, just as he promised you.
11 So be very careful, for your own sake, to love the LORD your God.
12 For if you do turn away and attach yourselves to what is left of these nations that remain among you, and intermarry with them and mix with them and they with you,
13 then you may be sure that the LORD your God will no longer drive these nations out before you. Instead they will be a snare and a trap for you, a lash on your sides and thorns in your eyes, until you vanish from this good land the LORD your God has given you.
14 I am now going the way of all the earth, and you know with all your heart and soul that not one of all the good promises the LORD your God made to you has failed. Every one has been fulfilled for you; not a single one has failed.
15 But just as every good promise the LORD your God made to you has been fulfilled, so the LORD will bring on you every threatened evil, until he has wiped you out from this good land the LORD your God has given you,
16 if you break the covenant of the LORD your God, which he commanded you, and go off to serve other gods and bow down to them. Then the LORD's anger will blaze against you, and you will quickly vanish from the good land he has given you."