As elections are approaching in my country, I want to ask about voting in the West.

I know there is this principle of voting for the greater good of the Muslims. But if we are honest with ourselves, we will see that every candidate here has propositions that clearly contradicts with Islamic principles. So if we vote for a candidate because we think he is the best for the community in general, and then he applies these non-Islamic principles once elected, aren't we gonna be accountable of that before Allah swt ?
If for instance this candidate legalize weed, or extend the maximum delay for abortion, wouldn't we be considered as partners in the matter?

Many scholars have stated that if through your vote you are avoiding the greater of the two evils and you are not supporting any immoral agendas, then it’s permissible and even recommended in some cases.