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.

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.

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.

Deuteronomy 7:4

For they will turn away thy son from following me that they may serve other gods; and the anger of the LORD will be kindled upon you and destroy thee suddenly.

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.

Joshua 23:12-13

Because if ye do in any wise go back and cleave unto the remnant of these Gentiles that remain among you and shall make marriages with them and go in unto them and they to you,

Judges 1:21-36

And the sons of Benjamin did not drive out the Jebusites that inhabited Jerusalem; thus the Jebusites dwell with the sons of Benjamin in Jerusalem unto this day.

Psalm 106:34-36

They did not destroy the nations, concerning whom the LORD commanded them:

Ezekiel 28:24

And there shall no longer be a pricking brier unto the house of Israel, nor any thorn that causes him pain, round about them of those that despise them; and they shall 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 dwell in thy land lest peradventure they make thee sin against me by serving their gods, for it will be a snare unto thee.
Deuteronomy 7:4
For they will turn away thy son from following me that they may serve other gods; and the anger of the LORD will be kindled upon you and destroy thee suddenly.
Joshua 23:12
Because if ye do in any wise go back and cleave unto the remnant of these Gentiles that remain among you and shall make marriages with them and go in unto them and they to you,
Judges 1:21
And the sons of Benjamin did not drive out the Jebusites that inhabited Jerusalem; thus the Jebusites dwell with the sons of Benjamin in Jerusalem unto 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 unto you.
Psalm 106:34
They did not destroy the nations, concerning whom the LORD commanded them:
Ezekiel 28:24
And there shall no longer be a pricking brier unto the house of Israel, nor any thorn that causes him pain, round about them of those that despise them; and they shall know that I am the Lord GOD.

General references

Joshua 17:12
But the sons of Manasseh could not drive out the inhabitants of those cities; to the contrary the Canaanite desired to dwell in that land.