Joshua 23:13; Judges 2:21–23

13 know for certain that xthe Lord your God will no longer drive out these nations before you, ybut they shall be a snare and a trap for you, a whip on your sides and thorns in your eyes, until you perish from off this good ground that the Lord your God has given you.

21 nI will no longer drive out before them any of the nations that Joshua left when he died, 22 in order oto test Israel by them, whether they will take care to walk in the way of the Lord as their fathers did, or not. 23 So the Lord left those nations, not driving them out quickly, and he did not give them into the hand of Joshua.