I feel like a large swath of the developed world has forgotten why we have elections. We do it because we don’t trust each other, we don’t agree what’s “fair,” etc. So we establish elections as a way of resolving disputes between people who don’t trust each other. It’s exactly like software security. You create a minimal trusted kernel—the machinery of voting and counting the votes—and then build decision making off the forced consensus generated by the elections.
If there was anybody whom everyone trusted enough to second guess the elections, to look at voters’ motivations and fuzzy ideas of fairness you wouldn’t need elections.