Judges 2:3

Therefore, 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.

Numbers 33:55

But if ye will not drive out the inhabitants of the land from before you, then it shall come to pass that those whom ye let remain of them shall be pricks in your eyes and thorns in your sides and shall afflict you in the land in which ye dwell.

Joshua 23:13

know for a certainty that the LORD your God will no longer drive out any of these Gentiles from before you, but they shall be snares and traps unto you and scourges in your sides and thorns in your eyes until ye perish from off this good land which the LORD your God has given you.

Deuteronomy 7:16

And thou shalt consume all the peoples which the LORD thy God shall deliver thee; thine eye shall have no pity upon them; neither shalt thou serve their gods; for that will be a snare unto thee.

Judges 2:21

neither will I drive out any longer from before them any of these Gentiles which Joshua left when he died,

Judges 3:6

they took their daughters to be their wives and gave their daughters to their sons and served their gods.

Psalm 106:36

And they served their idols, which were a snare unto them.

Exodus 23:33

They shall not dwell in thy land lest peradventure they make thee sin against me by serving their gods, for it will be a snare unto thee.

Exodus 34:12

Keep thyself lest thou make a covenant with the inhabitants of the land where thou must enter lest it be for a snare in the midst of thee;

1 Kings 11:1-7

But King Solomon loved many strange women, together with the daughter of Pharaoh, women of the Moabites, Ammonites, Edomites, Zidonians, and Hittites,

Treasury of Scripture Knowledge

Summary

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.

Bible References

I also said

Judges 2:21
neither will I drive out any longer from before them any of these Gentiles which Joshua left when he died,
Numbers 33:55
But if ye will not drive out the inhabitants of the land from before you, then it shall come to pass that those whom ye let remain of them shall be pricks in your eyes and thorns in your sides and shall afflict you in the land in which ye dwell.
Joshua 23:13
know for a certainty that the LORD your God will no longer drive out any of these Gentiles from before you, but they shall be snares and traps unto you and scourges in your sides and thorns in your eyes until ye perish from off this good land which the LORD your God has given you.

Their gods

Judges 3:6
they took their daughters to be their wives and gave their daughters to their sons and served their gods.
Exodus 23:33
They shall not dwell in thy land lest peradventure they make thee sin against me by serving their gods, for it will be a snare unto thee.
Exodus 34:12
Keep thyself lest thou make a covenant with the inhabitants of the land where thou must enter lest it be for a snare in the midst of thee;
Deuteronomy 7:16
And thou shalt consume all the peoples which the LORD thy God shall deliver thee; thine eye shall have no pity upon them; neither shalt thou serve their gods; for that will be a snare unto thee.
1 Kings 11:1
But King Solomon loved many strange women, together with the daughter of Pharaoh, women of the Moabites, Ammonites, Edomites, Zidonians, and Hittites,
Psalm 106:36
And they served their idols, which were a snare unto them.

General references

Deuteronomy 6:19
so that he will cast out all thine enemies from before thy presence, as the LORD has spoken.
Deuteronomy 20:18
that they not teach you to do after all their abominations, which they do unto their gods, lest ye should sin against the LORD your God.
Deuteronomy 28:43
The stranger that is in the midst of thee shall get up above thee very high, and thou shalt come down very low.
Judges 2:21
neither will I drive out any longer from before them any of these Gentiles which Joshua left when he died,
1 Samuel 8:8
According to all the works which they have done since the day that I brought them up out of Egypt even unto this day, with which they have forsaken me and served other gods, so they also do unto thee.