They were voted into a position where they were able to do that.
Paul von Hindenburg who got elected in 1932 after winning support from the social democrats as a "lesser evil." Eight months later, Hindenburg appointed Hitler chancellor. A month after that, Hitler issued the Reichstag Fire Decree which suspended civil rights and allowed for detention without trial, which he turned on his political opponents.
And the lesson you want me to take from that is "voting for the lesser evil is effective at stopping fascism?"