Joshua 23:12-14 New English Translation (NET Bible)
12 But if you ever turn away and make alliances with these nations that remain near you, and intermarry with them and establish friendly relations with them, 13 know for certain that the Lord our God will no longer drive out these nations from before you. They will trap and ensnare you; they will be a whip that tears your sides and thorns that blind your eyes until you disappear from this good land the Lord your God gave you.
14 “Look, today I am about to die. You know with all your heart and being that not even one of all the faithful promises the Lord your God made to you is left unfulfilled; every one was realized—not one promise is unfulfilled!