Democracy's point is not to produce optimal policy outputs but to ensure that everyone affected by power has a say in it. Legitimacy and competence are different values, and legitimacy is what democracy exists to provide. A technically optimal decision made by an expert class over the objection of the governed is not better governance — it is benevolent autocracy.
