Numbers 33:55

But if you will not drive out the people of the land from before you, then it will be, those of them whom you let remain shall be goads in your eyes and thorns in your sides, and they shall trouble you in the land in which you live.

Judges 2:3

And I also said, I will not drive them out from before you, but they shall be 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 surely will be a snare to you.

Deuteronomy 7:4

For they will turn away your son from following Me, so that they may serve other gods. So the anger of Jehovah will be kindled against you and will destroy you suddenly.

Deuteronomy 7:16

And you shall destroy all the people which Jehovah your God shall deliver you. Your eye shall have no pity upon them, neither shall you serve their gods, for they will be a snare to you.

Joshua 23:12-13

Otherwise, if you go back in any way, and hold to those left of these nations, these that remain among you, and shall marry them and go in to them and they to you,

Judges 1:21-36

And the sons of Benjamin did not expel the Jebusites who lived in Jerusalem. But the Jebusites live with the sons of Benjamin in Jerusalem to this day.

Psalm 106:34-36

They did not destroy the nations as Jehovah commanded them;

Ezekiel 28:24

And there will not be a pricking brier, or a painful thorn to the house of Israel any more, from all who surround them, those who hate them. And they shall know that I am the Lord Jehovah.

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 surely will be a snare to you.
Deuteronomy 7:4
For they will turn away your son from following Me, so that they may serve other gods. So the anger of Jehovah will be kindled against you and will destroy you suddenly.
Joshua 23:12
Otherwise, if you go back in any way, and hold to those left of these nations, these that remain among you, and shall marry them and go in to them and they to you,
Judges 1:21
And the sons of Benjamin did not expel the Jebusites who lived in Jerusalem. But the Jebusites live with the sons of Benjamin in Jerusalem to this day.
Judges 2:3
And I also said, I will not drive them out from before you, but they shall be thorns in your sides, and their gods shall be a snare to you.
Psalm 106:34
They did not destroy the nations as Jehovah commanded them;
Ezekiel 28:24
And there will not be a pricking brier, or a painful thorn to the house of Israel any more, from all who surround them, those who hate them. And they shall know that I am the Lord Jehovah.

General references

Joshua 17:12
Yet the sons of Manasseh were not able to occupy these cities, but the Canaanites wanted to live in that land.