Numbers 33:55

If you do not drive out the inhabitants of the land, those that are left will be as troublesome as splinters in your eyes and thorns in your sides. They will fight against you.

Judges 2:3

I also said: 'I will not drive them out from before you. They will be thorns in your sides. Their gods will snare (trap) you.'

Exodus 23:33

Do not allow them to live in your land for they will make you sin against me. If you serve their gods it will be a snare to you.

Deuteronomy 7:4

They will lead your young people away from me to serve other gods. So the anger of Jehovah will be kindled against you and will destroy you suddenly.

Deuteronomy 7:16

Destroy all the peoples whom Jehovah your God gives you. Do not look at them with pity. Do not serve their gods. For that would be a snare to you.

Joshua 23:12-13

If you are disloyal and join with the nations that are still left among you and intermarry with them,

Judges 1:21-36

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

Psalm 106:34-36

They did not destroy the people as Jehovah had told them.

Ezekiel 28:24

There will be no more prickling brier or a painful thorn for the house of Israel from any round about them who scorned them. Then they will 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
Do not allow them to live in your land for they will make you sin against me. If you serve their gods it will be a snare to you.
Deuteronomy 7:4
They will lead your young people away from me to serve other gods. So the anger of Jehovah will be kindled against you and will destroy you suddenly.
Joshua 23:12
If you are disloyal and join with the nations that are still left among you and intermarry with them,
Judges 1:21
The children of Benjamin did not drive out the Jebusites that inhabited Jerusalem. The Jebusites dwell with the children of Benjamin in Jerusalem to this day.
Judges 2:3
I also said: 'I will not drive them out from before you. They will be thorns in your sides. Their gods will snare (trap) you.'
Psalm 106:34
They did not destroy the people as Jehovah had told them.
Ezekiel 28:24
There will be no more prickling brier or a painful thorn for the house of Israel from any round about them who scorned them. Then they will know that I am the Lord Jehovah.

General references

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