Numbers 33:55

But if you do not drive out the inhabitants of the land from before you, then it shall come about that those whom you let remain of them will become as pricks in your eyes and as thorns in your sides, and they will trouble you in the land in which you live.

Judges 2:3

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

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 will surely be a snare to you.”

Deuteronomy 7:4

For they will turn your sons away from following Me to serve other gods; then the anger of the Lord will be kindled against you and He will quickly destroy you.

Deuteronomy 7:16

You shall consume all the peoples whom the Lord your God will deliver to you; your eye shall not pity them, nor shall you serve their gods, for that would be a snare to you.

Joshua 23:12-13

For if you ever go back and cling to the rest of these nations, these which remain among you, and intermarry with them, so that you associate with them and they with you,

Judges 1:21-36

But the sons of Benjamin did not drive out the Jebusites who lived in Jerusalem; so the Jebusites have lived with the sons of Benjamin in Jerusalem to this day.

Psalm 106:34-36

They did not destroy the peoples,
As the Lord commanded them,

Ezekiel 28:24

And there will be no more for the house of Israel a prickling brier or a painful thorn from any round about them who scorned them; then they will know that I am the Lord God.”

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 live in your land, because they will make you sin against Me; for if you serve their gods, it will surely be a snare to you.”
Deuteronomy 7:4
For they will turn your sons away from following Me to serve other gods; then the anger of the Lord will be kindled against you and He will quickly destroy you.
Joshua 23:12
For if you ever go back and cling to the rest of these nations, these which remain among you, and intermarry with them, so that you associate with them and they with you,
Judges 1:21
But the sons of Benjamin did not drive out the Jebusites who lived in Jerusalem; so the Jebusites have lived with the sons of Benjamin in Jerusalem to this day.
Judges 2:3
Therefore I also said, ‘I will not drive them out before you; but they will become as thorns in your sides and their gods will be a snare to you.’”
Psalm 106:34
They did not destroy the peoples,
As the Lord commanded them,
Ezekiel 28:24
And there will be no more for the house of Israel a prickling brier or a painful thorn from any round about them who scorned them; then they will know that I am the Lord God.”

General references

Joshua 17:12
But the sons of Manasseh could not take possession of these cities, because the Canaanites persisted in living in that land.