There are two quite different models of why democracy works held by people who think it does. One is a model of incentives, one of selection.
The incentive version relies on the fact that politicians want to get elected and reelected. To get elected they have to support the policies that a majority of the voters want; to get elected again, they have to actually work for those policies. Hence, it is argued, it is in the interest of politicians to do what the voters want them to do, whatever the private beliefs and objectives (other than election) of the politicians may be.
The selection model relies on the facts that people differ and that we have some ability to tell what other people are like. Some candidates are good people who want good things; if the voters can identify the good politicians they can elect them and rely on the benevolent desires of those politicians to motivate them to do the right thing. Some candidates are not only good people but smart and hard working, hence likely to take the acts that produce those good things.
The two models have different requirements and different implications. For the incentive model to work, voters must know both what elected politicians are doing and what they ought to be doing, in order to vote for the ones who do what they ought to. In a large society with a government doing many things, knowing either what it should do or what a particular politician is doing is hard. When a politician wants to buy the votes of farmers by pushing up the price of food, he explains that he is doing it to guarantee American consumers a reliable food supply. When a politician wants to buy the votes of auto workers and GM stockholders by using a tariff to drive up the price of automobiles, he explains that he is doing it for the health of the American economy.
That is a reason that the incentive model might not work very well.
The selection model avoids that set of problems. You don’t have to know what the government should be doing; you have delegated the job of figuring that out to someone else. Nor do you have to know what your politician is doing. The selection model even works for issues of national security such as the Manhattan Project where the voters don’t know what the government is doing. On the other hand, it depends on voters being able to accurately evaluate the personalities of people they have met for at most a few seconds, based on what those people say about themselves and what others say about them, to identify the candidates who are both good people and competent. It thus leads to campaigns of charisma, bogus virtue, and the like.
My point here is not to judge which model is more realistic or which works less badly. It is merely to point out that people who believe in democracy are likely to have one of those two models in mind and are often unclear about which it is or what the differences between them are.
Other Examples
A similar distinction applies in many other contexts. Consider arguments for giving convicted criminals time off for good behavior. One might view it as an incentive to behave well in prison. Or one might view good behavior in prison as evidence that the criminal has reformed or was never all that bad, hence that it’s safe to let him out.
The discussion of college admissions in a recent post raises a similar issue. One reason for colleges to prefer applicants who have gotten good grades in high school and taken lots of AP classes is that doing that is evidence that they are smart and hard working with a wide range of interests; colleges want students like that. A different reason is to give students an incentive to do things the college wants them to do, study hard in high school and take lots if advanced classes so to be better prepared for their classes in college.
Here again, the different reasons have different implications. The incentive reason applies for high school grades but not for SAT scores, since there is nothing the college wants the student to do to raise them. A college that is designing its admission policy entirely as an incentive should ignore SAT scores in order not to give students an incentive to spend time studying how to take the SAT instead of for their classes. It works for the selection model, since a high SAT score is evidence a student is smart and colleges want smart students.
The incentive model faces a public good problem — if Harvard rewards good grades with a greater chance of admission that is an incentive to study not only for the 3.5 percent of applicants that end up enrolling but also for the 96.5 percent who end up going to other schools, so most of the benefit of better prepared students goes to Harvard’s competitors. That is less true for UT Austin, which enrolls 10.9% of applicants, or other state flagship schools.
Assume, plausibly, that most schools have both objectives. A school like Harvard has more reason to do things that work for selection but not for incentive, such as basing admission on SAT score, than a school like UT Austin. It follows, all other things being equal, which of course they are not, that Harvard should weight SAT scores more heavily than UT Austin in admission decisions.
The issue holds for academic employment as well. One reason to hire or promote someone who publishes lots of articles, preferably in high status journals, is that that is evidence the candidate is an able and productive scholar, the sort of person you want teaching your students, the sort whose work will raise the reputation of your school. Another is as an incentive to do scholarly work, be and remain active in your field. The incentive motive faces a public good problem in the context of hiring — your willingness to reward publication with a job offer is an incentive spread over many candidates, most of whom will end up working for someone else. It makes more sense in the context of promotion, especially promotion to tenure, since it is an incentive only for your existing nontenured faculty.
My web page, with the full text of multiple books and articles and much else
Past posts, sorted by topic
A search bar for past posts and much of my other writing
A draft of my next book, Consequences of Climate Change, webbed for comments. Read it and tell me what I have wrong.

I think the best argument for democracy is that it allows for a peaceful transfer of power that removes an unpopular regime. Beyond avoiding civil war, this provides a feedback mechanism that while imperfect mostly seems to correct the absolute worst states possible (democracies tend not to do things like the Great Leap Forward or starting world wars). When they make mistakes they often correct them with time.
Of course democracy doesn’t have to mean universal sufferage
As Forumposter and Frank observe, a third argument for democratic selection of government officials is that it allows peaceful transition of power. America's founders assert that the people retain the right to abolish a government and establish a new one if they decide so. Democratic voting enables this to be done peacefully. Popper, Mises, and others who have made this argument do not seem to have argued it will provide reliable selection of *better* leadership, nor that it will provide leaders with the incentive to get things right, however "better" and "right" might be defined. The founders were in agreement, and thus did not try to establish pure democracy but a rather constrained representative republic with a measure of democratic selection of officials and policy; they also argued it would only work if the people were educated and moral, otherwise they will vote for faction and for bread & circuses.