There are several occurrences in history that the democratic majority has chosen the "wrong" person/way/thing. Democracy is considered the best system but it's not perfect.
Maybe someday we'll have direct democracy paired with voting certification for specific issues.