If all candidates for president are corrupt, but one is more corrupt than the other, should we vote for the lesser of the two evils or refrain from voting?

A number of scholars say that if you live in the [country] and pay taxes, then you have a say in the elections. If one candidate is less evil than the other one, then yes you can vote for him to stop the more evil one from coming to power.