Judges 2:1-3King James Version (KJV)
2 And an angel of the Lord came up from Gilgal to Bochim, and said, I made you to go up out of Egypt, and have brought you unto the land which I sware unto your fathers; and I said, I will never break my covenant with you.
2 And ye shall make no league with the inhabitants of this land; ye shall throw down their altars: but ye have not obeyed my voice: why have ye done this?
3 Wherefore I also said, I will not drive them out from before you; but they shall be as thorns in your sides, and their gods shall be a snare unto you.
Judges 2:21-23King James Version (KJV)
21 I also will not henceforth drive out any from before them of the nations which Joshua left when he died:
22 That through them I may prove Israel, whether they will keep the way of the Lord to walk therein, as their fathers did keep it, or not.
23 Therefore the Lord left those nations, without driving them out hastily; neither delivered he them into the hand of Joshua.