Why would corrupt leadership care that people are marching in the street if there's no consequences to ignoring the protests?
Peaceful protests are a statement that the people are upset and want change. There has to be a threat of escalation if protests are ignored.
That's not to say we should jump straight to violence. It's recognizing that in the event a government ignores laws, suppresses the vote, and uses violence against its people that the people may eventually need to hit back.