I think you misunderstand the point of democracy. Democracy is not a mechanism for selecting the best ruler or the wisest policies. Democracy serves as a solution for the succession problem without revolutions and civil war.
It is a mechanism that places the process, the system, above the ruler, and provides a strong and formal mechanism for replacing the old ruler with the new one.
Totalitarian states nearly always descend into chaos and violence when the dictator dies. Without clear succession rules, they rarely have an undisputed successor ready. Monarchies are historically more stable, but every so often a ruler dies without an undisputed heir, or one is such a blatantly bad ruler that civil war breaks out. Some dictatorships are able to maintain stability and prevent revolutions or civil war with more or less extreme repression.
Democracy is meant to solve all this. There is no need to take up arms against a bad king, if you know he or she will be replaced in 4 or 8 years. People who were at least consulted about the choice of ruler (in the form of elections) are less likely to dispute the ruler's legitimacy. Succession isn't disputed, because it's the system and not the ruler that chooses the successor.
Revolutions and civil wars are bad, they used to kill millions every other generation. The system we have maintains itself with minimal repression. So yes, one down side of democracy may be that people get to decide about issues they don't really understand. It's totally worth it.