Their descendants remained in the land (the Israelites were unable to wipe them out). Solomon conscripted them for his work crews and they continue in that role to this very day.
you must drive out all the inhabitants of the land before you. Destroy all their carved images, all their molten images, and demolish their high places.
You must destroy all the people whom the Lord your God is about to deliver over to you; you must not pity them or worship their gods, for that will be a snare to you.
The Ephraimites did not conquer the Canaanites living in Gezer. The Canaanites live among the Ephraimites to this very day and do hard labor as their servants.
The Lord was with the men of Judah. They conquered the hill country, but they could not conquer the people living in the coastal plain, because they had chariots with iron-rimmed wheels.
The men of Benjamin, however, did not conquer the Jebusites living in Jerusalem. The Jebusites live with the people of Benjamin in Jerusalem to this very day.
but you must not make an agreement with the people who live in this land. You should tear down the altars where they worship.’ But you have disobeyed me. Why would you do such a thing?
So go now and strike down the Amalekites. Destroy everything that they have. Don’t spare them. Put them to death – man, woman, child, infant, ox, sheep, camel, and donkey alike.’”