Democracies sometimes reject freedom.
Egypt has a new new democratically elected dictator and Venezuela still has her old one. Since they were elected by majorities of the voters they must be good democratic rulers who give the majority what they want. Suppose the majority want to have blasphemers' heads removed? Suppose the majority want to have money taken from the rich because they have been told that will help the poor?