Democracies are not the dictatorships of morjarities. Democracy is far more than doing what the majority wants. In democracies all residents have certain basic rights that cannot be violated regardless of what the majority thinks. (See the declaration of human rights.)
For example, there may be sexual acts that two consenting adults do that majority finds immoral. Should democracies be able to ban those acts?
What if, at some point, majority finds Christianity or atheism immoral?
In a healthy democracy the executive and legislative branches are democratic, however to protect the minority judicial branch is independent.