When people talk about democracies, they almost always refer to
liberal democracies.
With liberal democracies, I believe it's more about self-determination or fair representation than who knows best. The point is to prevent tyranny, including majority tyranny.
There can be no liberal democracy without the protection of human rights and the of law.