You seem to be suggesting that being a government employee gives you near total job certainty and that to have that job security you need to be a government employee. That is not the case. At all. Maybe where you live, but certainly not everywhere. And yes, I am keenly aware of highly incompetent people (in healthcare no less!) who have job security. Is that a good situation? No. But throwing the baby out with the bathwater and making it a free-for-all where everyone is stressed all the time and can be kicked to the curb on a whim isn’t a better way to properly advance a society. Not if you care about something other than the unfettered pursuit of profit, anyway, and I believe we should care about more than that.
Because you edited your previous post, I’ll point out that I find the new examples (teachers and cops) to be even worse. Policemen are notorious for abuses of powers with no repercussions, I honestly don’t know what to tell you if you’re not aware of that. Teachers get the short end of the stick, and the best ones are seldom recognised. Again, if you're not aware of that I’m not really sure what to tell you.
Also, of course it’s not good to have incompetent doctors, and of course that was not the argument. I invite you to steel man if you want to have a productive conversation. Nowhere am I saying unrestricted job security is the right solution, I am instead pointing out that giving all the power to the employer causes worse problems, and that in general we should care about people’s well-being instead of trying to “advance” and being afraid of “being left behind” all the time. That’s not healthy, and it is stupid to chase “progress” if not to improve lives.