Numbers 33:55

But if you do not drive out the inhabitants of the land from your presence, then it will happen that whomever you let remain of them will be like irritants in your eyes and like thorns in your sides; they will be your enemies in the land in which you live.

Judges 2:3

Now I say, I will not drive them out from before you; they will {become as thorns} for you, and their gods will be a trap for you."

Exodus 23:33

They will not live in your land, lest they cause you to sin against me when you serve their gods, for it will be a snare to you.'"

Deuteronomy 7:4

For their sons and daughters will cause your son to turn away {from following me}, and [so] they will serve other gods, and {the anger of Yahweh would be kindled} against you, and he would quickly destroy you.

Deuteronomy 7:16

And you shall devour all of the peoples [that] Yahweh your God [is] giving to you; {you shall not pity them}, and you shall not serve their gods, [which] will be a snare for you.

Joshua 23:12-13

for if indeed you turn back and join these remaining nations {among you}, and you intermarry with them, {marrying their women and they yours},

Judges 1:21-36

But the descendants of Benjamin did not drive out the Jebusites who lived in Jerusalem, so the Jebusites have lived among the descendants of Benjamin in Jerusalem to this day.

Psalm 106:34-36

They did not exterminate the peoples, as Yahweh had commanded them,

Ezekiel 28:24

And {there will not be any longer} painful thorn and a sharp thornbush for the house of Israel from {anywhere around them} [from those] {who are despising them}, and they will 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 will not live in your land, lest they cause you to sin against me when you serve their gods, for it will be a snare to you.'"
Deuteronomy 7:4
For their sons and daughters will cause your son to turn away {from following me}, and [so] they will serve other gods, and {the anger of Yahweh would be kindled} against you, and he would quickly destroy you.
Joshua 23:12
for if indeed you turn back and join these remaining nations {among you}, and you intermarry with them, {marrying their women and they yours},
Judges 1:21
But the descendants of Benjamin did not drive out the Jebusites who lived in Jerusalem, so the Jebusites have lived among the descendants of Benjamin in Jerusalem to this day.
Judges 2:3
Now I say, I will not drive them out from before you; they will {become as thorns} for you, and their gods will be a trap for you."
Psalm 106:34
They did not exterminate the peoples, as Yahweh had commanded them,
Ezekiel 28:24
And {there will not be any longer} painful thorn and a sharp thornbush for the house of Israel from {anywhere around them} [from those] {who are despising them}, and they will know that I [am] the Lord Yahweh." '"

General references

Joshua 17:12
But the descendants of Manasseh were not able to take possession of these towns; the Canaanites were determined to live in this land.