Government bureaucrats aren't really providing any vital service to be honest. I understand the doctor thing though. Why would anyone want to bust their ass in medical school in order to live in hospitals if they can make more money writing software instead? Health care workers are losing value fast in Brazil and quality is going to drop.
There's this notion that doctors are well paid but they're not. It's just that every other profession is incredibly undervalued and should be paid more.