The ill that it's supposed to address is people hassling government officials who are just doing their jobs. Their jobs require them to do things that people don't want them to do, like making you pay taxes or go to jail for committing crimes. They are prominent targets and can easily spend their entire career fighting off complaints.
Of course that promptly shifts the potential for abuse in the other direction. Supposedly, democracy is the control over that. If they are abusing their office, you vote them out. (Or you vote out the elected official supervising them, such as a mayor or sheriff.)
It actually does work out most of the time. The cases of abuse are really few and far between. But in a country of 300 million, "few and far between" is somebody every single day, and a decent chance that it's you at some point.
That said, it should be zero, and there's good reason to think that for every offender you see there are dozens or hundreds of people complicit in allowing it. The theory I outlined above can only handle so many decades of concerted abuses before they become entrenched as part of the system. At which point it may be impossible to restore it without resetting everything to zero and starting over.
Working in the criminal justice system for awhile in some capacity will really give you perspective on what people have to deal with.
> The ill that it's supposed to address is people hassling government officials who are just doing their jobs.
How? If they're doing their jobs, then they are in the right and would be defended by their agency. If they are doing something illegal, they'd be in trouble. But that's the point!