"To win the primary" means to be chosen as the chosen candidate from a particular political party for a specific election.