Ah, that's the billion-dollar question.
In most of the revolutions, the army, not the citizenry, was the one who went against the ruler. For example that's why Putin kept his army weakened and ineffective and had Wagner force(which still tried to revolt).