# Chapter 23
1 A long time after the Lord had given Israel rest from all the enemies around them, Joshua was old, advanced in age.
2 So Joshua summoned all Israel, including its elders, leaders, judges, and officers, and said to them, “I am old, advanced in age,
3 and you have seen for yourselves everything the Lord your God did to all these nations on your account, because it was the Lord your God who was fighting for you.
4 See, I have allotted these remaining nations to you as an inheritance for your tribes, including all the nations I have destroyed, from the Jordan westward to the Mediterranean Sea.
5 The Lord your God will force them back on your account and drive them out before you so that you can take possession of their land, as the Lord your God promised you.
6 “Be very strong and continue obeying all that is written in the book of the law of Moses, so that you do not turn from it to the right or left
7 and so that you do not associate with these nations remaining among you. Do not call on the names of their gods or make an oath to them; do not serve them or bow in worship to them.
8 Instead, be loyal to the Lord your God, as you have been to this day.
9 “The Lord has driven out great and powerful nations before you, and no one is able to stand against you to this day.
10 One of you routed a thousand because the Lord your God was fighting for you, as he promised.
11 So diligently watch yourselves! Love the Lord your God!
12 If you ever turn away and become loyal to the rest of these nations remaining among you, and if you intermarry or associate with them and they with you,
13 know for certain that the Lord your God will not continue to drive these nations out before you. They will become a snare and a trap for you, a sharp stick for your sides and thorns in your eyes, until you disappear from this good land the Lord your God has given you.
14 “I am now going the way of the whole earth, and you know with all your heart and all your soul that none of the good promises the Lord your God made to you has failed. Everything was fulfilled for you; not one promise has failed.
15 Since every good thing the Lord your God promised you has come about, so he will bring on you every bad thing until he has annihilated you 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 and serve other gods, and bow in worship to them, the Lord’s anger will burn against you, and you will quickly disappear from this good land he has given you.”