There's your mistake: the technocratic assumption that elections are job interviews selecting for the "most qualified" candidate.
That's one part, but not the only part. This thought experiment should make it clear: You're voting in an important election. One candidate is an incompetent and unqualified clown, the other is a highly competent and qualified Nazi. You hate Nazis. Who do you vote for?