Judges 2:21

I will not drive out any of the nations that Joshua left when he died.

Joshua 23:13

Jehovah your God will no longer drive these nations out as you advance. Rather, they will be as dangerous for you as a trap or a pit and as painful as a whip on your back or thorns in your eyes. This will last until none of you are left in this good land that Jehovah your God gave 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.'

Judges 3:3

Those left in the land were the five Philistine cities, all the Canaanites, the Sidonians, and the Hivites who lived in the Lebanon Mountains from Mount Baal Hermon as far as Hamath Pass.

Ezekiel 20:24

I did this because they had rejected my commands, broken my laws, profaned the Sabbath, and worshiped the same idols their ancestors had served.

Treasury of Scripture Knowledge

Summary

I also will not henceforth drive out any from before them of the nations which Joshua left when he died:

Bible References

General references

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.'
Judges 3:3
Those left in the land were the five Philistine cities, all the Canaanites, the Sidonians, and the Hivites who lived in the Lebanon Mountains from Mount Baal Hermon as far as Hamath Pass.
Joshua 23:13
Jehovah your God will no longer drive these nations out as you advance. Rather, they will be as dangerous for you as a trap or a pit and as painful as a whip on your back or thorns in your eyes. This will last until none of you are left in this good land that Jehovah your God gave you.
Ezekiel 20:24
I did this because they had rejected my commands, broken my laws, profaned the Sabbath, and worshiped the same idols their ancestors had served.