Pondering the question of “Who should rule,” the democrat gives his answer: “the majority of politically equal citizens, either in person or through their representatives.” In other words, equality and majority rule are the two fundamental principles of democracy. A democracy may be either liberal or illiberal.
Genuine liberalism is the answer to an entirely different question: How should government be exercised? The answer it provides is: regardless of who rules, government must be carried out in such a way that each person enjoys the greatest amount of freedom, compatible with the common good. This means that an absolute monarchy could be liberal (but hardly democratic) and a democracy could be totalitarian, illiberal, and tyrannical, with a majority brutally persecuting minorities.
(We are, of course, using the term “liberal” in the globally accepted version and not in the American sense, which since the New Deal has been totally perverted.)