Democracy is more fragile than some people might think. There are plenty of examples of countries that were once democracies that are now widely considered to be authoritarian i.e. Hungary, Russia after collapse of the Soviet Union.
Even democracies themselves are not perfect. Marginalised groups can still be oppressed in different ways even in a democracy.