But it doesn't do that. It allows a majority to do whatever it wants, including redefine the rules to guarantee its permanent majority.
Or the rules are written to avoid that, in which case the power rests with the minority who is happiest with the status quo.
It works only if most people don't want to push their advantages to the limits. But if men were angels, there would be no need of laws. The system will always fall prey to whoever is most willing to push their advantage as far as it will go.