Judges 2:3

So I also said, ‘I will not drive your enemies out before you; but they will be like thorns in your sides and their gods will be a snare to you.’”

Numbers 33:55

But if you do not drive out the inhabitants of the land from before you, then those you let remain of them will be like pricks in your eyes and like thorns in your sides, and they will attack you in the land in which you live.

Joshua 23:13

know and understand with certainty that the Lord your God will not continue to drive these nations out from before you; but they will be a snare and trap to you, and a whip on your sides and thorns in your eyes, until you perish from this good land which the Lord your God has given you.

Deuteronomy 7:16

And you shall consume all the peoples whom the Lord your God will give over to you; your eye shall not pity them, nor shall you serve their gods, for that would be a [deadly] trap to you.

Judges 2:21

I also will no longer drive out before them any of the nations which Joshua left [to be conquered] when he died,

Judges 3:6

and they took their daughters for themselves as wives and gave their own daughters to their sons, and served their [pagan] gods.

Psalm 106:36


And served their idols,
Which became a [dreadful] snare to them.

Exodus 23:33

They shall not live in your land, because they will make you sin against Me; for if you serve their gods, it is certain to be a trap for you [resulting in judgment].”

Exodus 34:12

Watch yourself so that you do not make a covenant (solemn agreement, treaty) with the inhabitants of the land into which you are going, or it will become a [dangerous] trap among you.

1 Kings 11:1-7

Now king Solomon [defiantly] loved many foreign women along with the daughter of Pharaoh: Moabite, Ammonite, Edomite, Sidonian, and Hittite women,

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
I also will no longer drive out before them any of the nations which Joshua left [to be conquered] when he died,
Numbers 33:55
But if you do not drive out the inhabitants of the land from before you, then those you let remain of them will be like pricks in your eyes and like thorns in your sides, and they will attack you in the land in which you live.
Joshua 23:13
know and understand with certainty that the Lord your God will not continue to drive these nations out from before you; but they will be a snare and trap to you, and a whip on your sides and thorns in your eyes, until you perish from this good land which the Lord your God has given you.

Their gods

Judges 3:6
and they took their daughters for themselves as wives and gave their own daughters to their sons, and served their [pagan] gods.
Exodus 23:33
They shall not live in your land, because they will make you sin against Me; for if you serve their gods, it is certain to be a trap for you [resulting in judgment].”
Exodus 34:12
Watch yourself so that you do not make a covenant (solemn agreement, treaty) with the inhabitants of the land into which you are going, or it will become a [dangerous] trap among you.
Deuteronomy 7:16
And you shall consume all the peoples whom the Lord your God will give over to you; your eye shall not pity them, nor shall you serve their gods, for that would be a [deadly] trap to you.
1 Kings 11:1
Now king Solomon [defiantly] loved many foreign women along with the daughter of Pharaoh: Moabite, Ammonite, Edomite, Sidonian, and Hittite women,
Psalm 106:36

And served their idols,
Which became a [dreadful] snare to them.

General references

Deuteronomy 6:19
by driving out all your enemies from before you, as the Lord has spoken.
Deuteronomy 20:18
so that they will not teach you to act in accordance with all the detestable practices which they have done [in worship and service] for their gods, and in this way cause you to sin against the Lord your God.
Deuteronomy 28:43
The stranger who lives among you will rise above you higher and higher, and you will go down lower and lower.
Judges 2:21
I also will no longer drive out before them any of the nations which Joshua left [to be conquered] when he died,
1 Samuel 8:8
Like all the deeds which they have done since the day that I brought them up from Egypt even to this day—in that they have abandoned (rejected) Me and served other gods—so they are doing to you also.