Numbers 33:55

And if ye shall not drive out those dwelling in the land from before you, and it shall be whom ye shall leave from them for thorns in your eyes, and for prickles in your sides; and they pressed you upon the land which ye shall dwell upon it

Judges 2:3

And I also said, I will not drive them out from your face; and they were to you for adversaries, and their gods shall be to you for a snare.

Exodus 23:33

They shall not dwell in thy land, lest they shall cause thee to sin against me: if thou shalt serve their gods, surely shall it be to thee for a snare.

Deuteronomy 7:4

For he will turn away thy son from after me and they served other gods: and the anger of Jehovah kindled against you and he destroyed thee suddenly.

Deuteronomy 7:16

And thou didst consume all the peoples which Jehovah thy God gave to thee; thine eye shall not have pity upon them, and thou shalt not serve their gods, for it is a snare to thee.

Joshua 23:12-13

For if turning back, ye shall turn back and cleave to the remainder of these nations, these being left with you, and marry with them, and go in to them, and they in to you,

Judges 1:21-36

And the Jebusite dwelling in Jerusalem, the sons of Benjamin did not drive out; and the Jebusite dwelt with the sons of Benjamin in Jerusalem even to this day.

Psalm 106:34-36

They did not destroy the peoples which Jehovah said to them.

Ezekiel 28:24

And no more shall there be to the house of Israel a thorn making bitter; and briars causing pain from all round about them despising 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 thy land, lest they shall cause thee to sin against me: if thou shalt serve their gods, surely shall it be to thee for a snare.
Deuteronomy 7:4
For he will turn away thy son from after me and they served other gods: and the anger of Jehovah kindled against you and he destroyed thee suddenly.
Joshua 23:12
For if turning back, ye shall turn back and cleave to the remainder of these nations, these being left with you, and marry with them, and go in to them, and they in to you,
Judges 1:21
And the Jebusite dwelling in Jerusalem, the sons of Benjamin did not drive out; and the Jebusite dwelt with the sons of Benjamin in Jerusalem even to this day.
Judges 2:3
And I also said, I will not drive them out from your face; and they were to you for adversaries, and their gods shall be to you for a snare.
Psalm 106:34
They did not destroy the peoples which Jehovah said to them.
Ezekiel 28:24
And no more shall there be to the house of Israel a thorn making bitter; and briars causing pain from all round about them despising them; and they shall know that I am the Lord Jehovah.

General references

Joshua 17:12
And the sons of Manasseh will not be able to dispossess these cities; and the Canaanite will dwell in that land.