Life always has risk in it. If they have risk-free jobs, that means someone else is shouldering the burden of the resources expended to make that job risk-free. Said someone else is probably doing it without a risk-free job of their own. Is that fair?
There'll be the temptation to muddy the waters with all sorts of things, like "how important" the government worker's work is. (The taxpayer's job can be perfectly well important too. You want to live without garbage collectors?) But that's all distractions. What right do they have to have such low-risk ("risk-free" is really not true, but there is certainly a qualitatively different degree of risk) jobs at the expense of people without such low-risk jobs?
Life isn't fair. If your job isn't risk free, you should be petitioning for unions and other labor protections, not dragging down those who do have those benefits.
This is no different then when the minimum wage rises, and people who were making what is now the new minimum wage complain that they're underpaid now. They were underpaid before, it's just more obvious to them after the policy change.
Don't be the crab pulling other crabs back into the pot. Help the other crabs get out, and consequently, helping you get out.