Mad rulers are also quite normal for much of human history, the theory was that Democracy would relieve us of that particular problem.
https://www.youtube.com/watch?v=uqsBx58GxYYThis is one of the most insightful videos I've ever seen on society and governments. It describes Anacyclosis, where political systems evolve in a recurring sequence driven by corruption and decay.
Democracy will eventually decay. It's not permanent. You can see it now live where democracies elect more and more radical leaders.