People tracking global politics: Why is there a global trend of electing authoritarians who erode democracies? Is democracy in self-destruct mode?

It feels like voters are using democratic systems to chip away at democracy itself with electing almost antidemocratic leaders. Are we seeing a global shift away from democratic ideals like monarchies faded out centuries ago, or is this just a phase? What’s your take, where do you see it heading?