23 Long after this, when the Lord had given success to the people of Israel against their enemies and when Joshua was very old, 2 he called for the leaders of Israel—the elders, judges, and officers—and said to them, “I am an old man now, 3 and you have seen all that the Lord your God has done for you during my lifetime. He has fought for you against your enemies and has given you their land. 4-5 And I have divided to you the land of the nations yet unconquered as well as the land of those you have already destroyed. All the land from the Jordan River to the Mediterranean Sea shall be yours, for the Lord your God will drive out all the people living there now, and you will live there instead, just as he has promised you.
6 “But be very sure to follow all the instructions written in the book of the laws of Moses; do not deviate from them the least little bit. 7 Be sure that you do not mix with the heathen people still remaining in the land; do not even mention the names of their gods, much less swear by them or worship them. 8 But follow the Lord your God just as you have until now. 9 He has driven out great, strong nations from before you, and no one has been able to defeat you. 10 Each one of you has put to flight a thousand of the enemy, for the Lord your God fights for you, just as he has promised. 11 So be very careful to keep on loving him.
12 “If you don’t, and if you begin to intermarry with the nations around you, 13 then know for a certainty that the Lord your God will no longer chase those nations from your land. Instead, they will be a snare and a trap to you, a pain in your side and a thorn in your eyes, and you will disappear from this good land which the Lord your God has given you.
14 “Soon I will be going the way of all the earth—I am going to die.
“You know very well that God’s promises to you have all come true. 15-16 But as certainly as the Lord has given you the good things he promised, just as certainly he will bring evil upon you if you disobey him. For if you worship other gods, he will completely wipe you out from this good land that the Lord has given you. His anger will rise hot against you, and you will quickly perish.”
New International Version
Joshua’s Farewell to the Leaders
23 After a long time had passed and the Lord had given Israel rest(A) from all their enemies around them, Joshua, by then a very old man,(B) 2 summoned all Israel—their elders,(C) leaders, judges and officials(D)—and said to them: “I am very old.(E) 3 You yourselves have seen everything the Lord your God has done to all these nations for your sake; it was the Lord your God who fought for you.(F) 4 Remember how I have allotted(G) as an inheritance(H) for your tribes all the land of the nations that remain—the nations I conquered—between the Jordan and the Mediterranean Sea(I) in the west. 5 The Lord your God himself will push them out(J) for your sake. He will drive them out(K) before you, and you will take possession of their land, as the Lord your God promised you.(L)
6 “Be very strong; be careful to obey all that is written in the Book of the Law(M) of Moses, without turning aside(N) to the right or to the left.(O) 7 Do not associate with these nations that remain among you; do not invoke the names of their gods or swear(P) by them. You must not serve them or bow down(Q) to them. 8 But you are to hold fast to the Lord(R) your God, as you have until now.
9 “The Lord has driven out before you great and powerful nations;(S) to this day no one has been able to withstand you.(T) 10 One of you routs a thousand,(U) because the Lord your God fights for you,(V) just as he promised. 11 So be very careful(W) to love the Lord(X) your God.
12 “But if you turn away and ally yourselves with the survivors of these nations that remain among you and if you intermarry with them(Y) and associate with them,(Z) 13 then you may be sure that the Lord your God will no longer drive out(AA) these nations before you. Instead, they will become snares(AB) and traps for you, whips on your backs and thorns in your eyes,(AC) until you perish from this good land,(AD) which the Lord your God has given you.
14 “Now I am about to go the way of all the earth.(AE) You know with all your heart and soul that not one of all the good promises the Lord your God gave you has failed. Every promise(AF) has been fulfilled; not one has failed.(AG) 15 But just as all the good things(AH) the Lord your God has promised you have come to you, so he will bring on you all the evil things(AI) he has threatened, until the Lord your God has destroyed you(AJ) from this good land he has given you.(AK) 16 If you violate the covenant of the Lord your God, which he commanded you, and go and serve other gods and bow down to them, the Lord’s anger will burn against you, and you will quickly perish from the good land he has given you.(AL)”