Numbers 33:55

But if you don’t drive out the inhabitants of the land before you, those you allow to remain will become thorns in your eyes and in your sides; they will harass you in the land where you will live.

Judges 2:3

Therefore, I now say: I will not drive out these people before you. They will be thorns in your sides, and their gods will be a trap for you.”

Exodus 23:33

They must not remain in your land, or else they will make you sin against Me. If you worship their gods, it will be a snare for you.”

Deuteronomy 7:4

because they will turn your sons away from Me to worship other gods. Then the Lord’s anger will burn against you, and He will swiftly destroy you.

Deuteronomy 7:16

You must destroy all the peoples the Lord your God is delivering over to you and not look on them with pity. Do not worship their gods, for that will be a snare to you.

Joshua 23:12-13

For if you turn away and cling to the rest of these nations remaining among you, and if you intermarry or associate with them and they with you,

Judges 1:21-36

At the same time the Benjaminites did not drive out the Jebusites who were living in Jerusalem. The Jebusites have lived among the Benjaminites in Jerusalem to this day.

Psalm 106:34-36

They did not destroy the peoples
as the Lord had commanded them

Ezekiel 28:24

“The house of Israel will no longer be hurt by prickly briers or painful thorns from all their neighbors who treat them with contempt. Then 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 must not remain in your land, or else they will make you sin against Me. If you worship their gods, it will be a snare for you.”
Deuteronomy 7:4
because they will turn your sons away from Me to worship other gods. Then the Lord’s anger will burn against you, and He will swiftly destroy you.
Joshua 23:12
For if you turn away and cling to the rest of these nations remaining among you, and if you intermarry or associate with them and they with you,
Judges 1:21
At the same time the Benjaminites did not drive out the Jebusites who were living in Jerusalem. The Jebusites have lived among the Benjaminites in Jerusalem to this day.
Judges 2:3
Therefore, I now say: I will not drive out these people before you. They will be thorns in your sides, and their gods will be a trap for you.”
Psalm 106:34
They did not destroy the peoples
as the Lord had commanded them
Ezekiel 28:24
“The house of Israel will no longer be hurt by prickly briers or painful thorns from all their neighbors who treat them with contempt. Then they will know that I am the Lord Yahweh.

General references

Joshua 17:12
The descendants of Manasseh could not possess these cities, because the Canaanites were determined to stay in this land.

Holman Christian Standard Bible®, Copyright © 1999, 2000, 2002, 2003, 2009 by Holman Bible Publishers.