The Israelites were to drive out the inhabitants because of the constant temptation they would place in front of the people to worship false gods.