They are usually fine. The inequality was way higher for most of the history and hungry peasants are no match for the army. We just remember the cases when the revolution won because it’s a good story. And the result was usually worse conditions for the poor.
I’m afraid that social equality peaked in XX century. Automation makes imposing social order so much easier, we might be stuck with this one for a while.
Those hungry peasants weren't educated. You have far more bright people in the 99.9% today than in the 0.1% cream at the top.
Unless you decide on complete and utter genocide, An Army is utterly no match for clever people who will utilise every inch of their ingenuity in guiding riots, carrying out guerilla warfare with committed assassins targeting the 0.1% (and their families).
And a nation who chooses to kill its citizens 'en masse via its military forces will not be a nation for very long. There will be civil war.
Without shared prosperity, a nation will shatter very soon. A revolution doesn't need to "win" for the prosperous to loose their lives by the million-fold.