No candidate is going to perfectly match your desires. So voting becomes a measurement of where your priorities lie.
Of course, media and the candidates themselves will use propaganda to manipulate your priorities.
Right-wing media has done a great job convincing people that the greatest threat to them are trans women in women's sports and illegal immigrants.