As evidenced by his scribbles in his potions textbook, Snape was bitter and angry long before Lily married James Potter (Adrian Rawlins) And after he left Hogwarts, he joined forces with Voldemort (Ralph Fiennes).
Warner Brothers
Voldemot's rampages of terror didn't matter to Snape, nor convince him to change sides It was Snape's fear of Lily's imminent[...]