Seven Basic Types of Demonic Influence
When the LORD your God brings you into the land which you go to possess, and has cast out many nations before you, the Hittites and the Girgashites and the Amorites and the Canaanites and the Perizzites and the Hivites and the Jebusites ...

DEUTERONOMY 7:1-5
“When the LORD your God brings you into the land which you go to possess, and has cast out many nations before you, the Hittites and the Girgashites and the Amorites and the Canaanites and the Perizzites and the Hivites and the Jebusites, seven nations greater and mightier than you, 2 and when the LORD your God delivers them over to you, you shall conquer them and utterly destroy them. You shall make no covenant with them nor show mercy to them. 3 Nor shall you make marriages with them. You shall not give your daughter to their son, nor take their daughter for your son. 4 For they will turn your sons away from following Me, to serve other gods; so the anger of the LORD will be aroused against you and destroy you suddenly. 5 But thus you shall deal with them: you shall destroy their altars, and break down their sacred pillars, and cut down their wooden images, and burn their carved images with fire.

JOSHUA 15:63
As for the Jebusites, the inhabitants of Jerusalem, the children of Judah could not drive them out; but the Jebusites dwell with the children of Judah at Jerusalem to this day.
JUDGES 1:21
But the children of Benjamin did not drive out the Jebusites who inhabited Jerusalem; so the Jebusites dwell with the children of Benjamin in Jerusalem to this day.
2 SAMUEL 5:6-8
And the king and his men went to Jerusalem against the Jebusites, the inhabitants of the land, who spoke to David, saying, “You shall not come in here; but the blind and the lame will repel you,” thinking, “David cannot come in here.” 7 Nevertheless David took the stronghold of Zion (that is, the City of David). 8 Now David said on that day, “Whoever climbs up by way of the water shaft and defeats the Jebusites (the lame and the blind, who are hated by David’s soul), he shall be chief and captain.” Therefore they say, “The blind and the lame shall not come into the house.”