Be careful what you ask for. There's no good reason that public service should be a "curse".
Humans are not angels, and we should not build systems that hold out some unrealistic expectation that they are.
Too often politicians are viewed as "saviors of the people" only shortly before they become "corrupt villains".
If we want to attract competent public minded people, we need to do a lot of deep thinking and system design to get there.
<personal pain point>
One good place to start is to get rid of this idea that every citizen's input is equally informed, sane, reasonable, actionable, legal, or thoughtful.
In a democracy, every person hopefully is afforded certain rights, such as due process and free speech, but this does not mean what you say is "free from consequences".
The corollary is that not all ideas have to be given equal consideration. Some people say batshit crazy things sometimes, and frankly, these kinds of comments make life hell for many public servants. School boards come to mind.
Speaking, personally, I would like to be a public servant, in some regard (again), but I don't think we have realistic processes in place to really gather thoughtful feedback from the public. Until we do, public servants have to deal with a lot of informed nonsense.
I think software developers and UX people might not realize how skilled and motivated we are at building systems that actually work. I'm not saying that we build the right thing all the time. But so many government processes are fundamentally broken in terms of information processing. I'm not saying that they are broken by e.g. the tropes like "lazy people in government". I'm saying that the systems are (anti) designed (or evolved) in such a way that they're so painful that driven people get driven out.
If you think of a government as a way of processing citizen input in a way that is consistent with budget constraints and laws, it seems that many government agencies are not built using the principles that so many of us take for granted: system design, failure analysis, testing. This isn't just government problem, of course ... it is characteristic of large organizations of all kinds.
Democracy does not function well when too many people are simultaneously uninformed and yelling. This crowds out informed people trying to have a discussion.
</personal pain point>