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 as pricks in your eyes and as thorns in your sides, and they will harass you in the land in which you dwell.

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 to you."

Exodus 23:33

They shall not dwell in your land, lest they make you sin against me, for if you serve their gods, it will surely be a snare to you."

Deuteronomy 7:4

For he will turn away your son from following me, that they may serve other gods: so the anger of Yahweh would be kindled against you, and he would destroy you quickly.

Deuteronomy 7:16

You shall consume all the peoples whom Yahweh your God shall deliver to you; your eye shall not pity them: neither shall you serve their gods; for that will be a snare to you.

Joshua 23:12-13

"But if you do at all go back, and hold fast to the remnant of these nations, even these who remain among you, and make marriages with them, and go in to them, and they to you;

Judges 1:21-36

The children of Benjamin did not drive out the Jebusites who inhabited Jerusalem; but the Jebusites dwell with the children of Benjamin in Jerusalem to this day.

Psalm 106:34-36

They didn't destroy the peoples, as Yahweh commanded them,

Ezekiel 28:24

There shall be no more a pricking brier to the house of Israel, nor a hurting thorn of any that are around them, that did despite to them; and they shall know that I am the Lord Yahweh.

Treasury of Scripture Knowledge

Summary

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

General references

Bible References

Shall be pricks

Exodus 23:33
They shall not dwell in your land, lest they make you sin against me, for if you serve their gods, it will surely be a snare to you."
Deuteronomy 7:4
For he will turn away your son from following me, that they may serve other gods: so the anger of Yahweh would be kindled against you, and he would destroy you quickly.
Joshua 23:12
"But if you do at all go back, and hold fast to the remnant of these nations, even these who remain among you, and make marriages with them, and go in to them, and they to you;
Judges 1:21
The children of Benjamin did not drive out the Jebusites who inhabited Jerusalem; but the Jebusites dwell with the children of Benjamin in Jerusalem to this day.
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 to you."
Psalm 106:34
They didn't destroy the peoples, as Yahweh commanded them,
Ezekiel 28:24
There shall be no more a pricking brier to the house of Israel, nor a hurting thorn of any that are around them, that did despite to them; and they shall know that I am the Lord Yahweh.

General references

Joshua 17:12
Yet the children of Manasseh couldn't drive out the inhabitants of those cities; but the Canaanites would dwell in that land.