Democracy must fulfill two conditions in order to achieve this outcome.
(i) It is necessary to understand that democracy is not simply rule by majority opinion. The majority always needs to work with the minority so that governments function to represent the general view.
(ii) It is also necessary that rule by majority does not become rule by majority community in terms of religion, or race or linguistic groups. Rule by majority means that in case of every decision or in case of every election, different persons or groups may and can form a majority.
(iii) Democracy remains a democracy only as long as every citizen has a chance of being in majority, at some point of time.