Jos 23:7-14

7or mingling with these nations that survive among you. You must not invoke their gods by name, or swear by them, or serve them, or bow down to them,e 8but you must hold fast to the LORD, your God, as you have done up to this day. 9At your approach the LORD has dispossessed great and strong nations; not one has withstood you up to this day. 10One of you puts to flight a thousand, because it is the LORD, your God, himself who fights for you,f as he promised you. 11As for you, take great care to love the LORD, your God. 12For if you ever turn away from him and join with the remnant of these nations that survive among you, by intermarrying and intermingling with them,g 13know for certain that the LORD, your God, will no longer dispossess these nations at your approach. Instead they will be a snare and a trap for you, a scourge for your sides and thorns for your eyes, until you perish from this good land which the LORD, your God, has given you.h

14“Today, as you see, I am going the way of all the earth.* So now acknowledge with your whole heart and soul that not one of all the promises the LORD, your God, made concerning you has failed. Every one has come true for you; not one has failed.