So long as you can keep those resources coming to your ruling coalition of highly replaceable idiots, you are golden. Read Smith and DeMesquita's "Dictator's Handbook" for details of how this works.
It doesn't matter whether that myth is of a 3000 year reign, the supreme right of a proletariat, the divinity of leader, that my golf handicap includes 11 holes in one, the revolution, or even that my particular tribe or ethnic group is morally superior to your tribe or ethnic group. It's all the same shit.
What people don't talk about is how these assholes seize power. It's through charismatic promises of future rewards to people who think they have nothing. They appeal to the greed and impulsiveness of the poor, it's a straight short con.
The nuanced part is how you get current status quo supporters to switch sides and provide their support to the challenger. They do this with a second message that triggers the middling man's sense of loss aversion. This is just posing a credible prisoners dilemma in which if moderates and supporters defect now, they get to keep their social position, but if they hold out, they will lose everything.
Arguably, this model of political polarization shows how ISIS works, how feminism annexed academia, why Trump is popular, why Occupy failed but why BLM could grow exponentially.
Nazi's were repugnant, but history would show that being repugnant is likely more indicative of political success than failure.