The candidate didn’t win the election.
We vote for him.
The candidate for whom we vote didn’t win the election.
The candidate whom we vote to didn’t win the election.
The candidate that we vote to didn’t win the election.
The candidate we vote for didn’t win the election.