Joshua 23 World English Bible (WEB)
23 After many days, when Yahweh had given rest to Israel from their enemies all around, and Joshua was old and well advanced in years, 2 Joshua called for all Israel, for their elders and for their heads, and for their judges and for their officers, and said to them, “I am old and well advanced in years. 3 You have seen all that Yahweh your God has done to all these nations because of you; for it is Yahweh your God who has fought for you. 4 Behold, I have allotted to you these nations that remain, to be an inheritance for your tribes, from the Jordan, with all the nations that I have cut off, even to the great sea toward the going down of the sun. 5 Yahweh your God will thrust them out from before you, and drive them from out of your sight. You shall possess their land, as Yahweh your God spoke to you.
6 “Therefore be very courageous to keep and to do all that is written in the book of the law of Moses, that you not turn away from it to the right hand or to the left; 7 that you not come among these nations, these that remain among you; neither make mention of the name of their gods, nor cause to swear by them, neither serve them, nor bow down yourselves to them; 8 but hold fast to Yahweh your God, as you have done to this day.
9 “For Yahweh has driven great and strong nations out from before you. But as for you, no man has stood before you to this day. 10 One man of you shall chase a thousand; for it is Yahweh your God who fights for you, as he spoke to you. 11 Take good heed therefore to yourselves, that you love Yahweh your God.
12 “But if you do at all go back, and hold fast to the remnant of these nations, even these who remain among you, and make marriages with them, and go in to them, and they to you; 13 know for a certainty that Yahweh your God will no longer drive these nations from out of your sight; but they shall be a snare and a trap to you, a scourge in your sides, and thorns in your eyes, until you perish from off this good land which Yahweh your God has given you.
14 “Behold, today I am going the way of all the earth. You know in all your hearts and in all your souls that not one thing has failed of all the good things which Yahweh your God spoke concerning you. All have happened to you. Not one thing has failed of it. 15 It shall happen that as all the good things have come on you of which Yahweh your God spoke to you, so Yahweh will bring on you all the evil things, until he has destroyed you from off this good land which Yahweh your God has given you, 16 when you disobey the covenant of Yahweh your God, which he commanded you, and go and serve other gods, and bow down yourselves to them. Then Yahweh’s anger will be kindled against you, and you will perish quickly from off the good land which he has given to you.”
Joshua 23 New International Version (NIV)
Joshua’s Farewell to the Leaders
23 After a long time had passed and the Lord had given Israel rest from all their enemies around them, Joshua, by then a very old man, 2 summoned all Israel—their elders, leaders, judges and officials—and said to them: “I am very old. 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. 4 Remember how I have allotted as an inheritance for your tribes all the land of the nations that remain—the nations I conquered—between the Jordan and the Mediterranean Sea in the west. 5 The Lord your God himself will push them out for your sake. He will drive them out before you, and you will take possession of their land, as the Lord your God promised you.
6 “Be very strong; be careful to obey all that is written in the Book of the Law of Moses, without turning aside to the right or to the left. 7 Do not associate with these nations that remain among you; do not invoke the names of their gods or swear by them. You must not serve them or bow down to them. 8 But you are to hold fast to the Lord your God, as you have until now.
9 “The Lord has driven out before you great and powerful nations; to this day no one has been able to withstand you. 10 One of you routs a thousand, because the Lord your God fights for you, just as he promised. 11 So be very careful to love the Lord 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 and associate with them, 13 then you may be sure that the Lord your God will no longer drive out these nations before you. Instead, they will become snares and traps for you, whips on your backs and thorns in your eyes, until you perish from this good land, which the Lord your God has given you.
14 “Now I am about to go the way of all the earth. 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 has been fulfilled; not one has failed. 15 But just as all the good things the Lord your God has promised you have come to you, so he will bring on you all the evil things he has threatened, until the Lord your God has destroyed you from this good land he has given you. 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.”