Are you confusing democracy with first-past-the-post voting? Democracy is rule by, or at least for, the people. First-past-the-post is a very old, simple and rather primitive way of choosing representatives that, as you said, is just a ‘check to keep the worst people from being in power’. Newer, more representative systems such as proportional representation and approval voting are better at choosing actually good parties / candidates.