Democracy is a way to get people to acquiesce without violence. If you look at history, it's remarkable how common insurgencies and succession crises or breakaway warlords are.
This is also how most professional licensing works. The idea isn't that the license guarantees quality, it's that the license can be revoked when the licensee in question makes an egregious mistake.
Democracy isn't about voting people in. A monarchy or dictatorship can be voted in and stay permanently. The point is to vote people out of power.
A recent discussion[1] suggests China's ~500 CE Keju imperial exam was designed as a royal ranking system to reduce violent political fights between noble houses. But at a cost of stagnated innovation.
Democracy is a way to get people to acquiesce without violence. If you look at history, it's remarkable how common insurgencies and succession crises or breakaway warlords are.