alienate from

alienate someone from someone or something

to cause someone to feel negative about someone or something. The teacher alienated the entire class from the subject of calculus.