I'm reminded of a history of Nigeria I encountered recently: https://youtu.be/E2HJbi-AG54?t=603. The Nigerian government basically ran the economy. If you wanted a good job, you worked for the government. For most people, getting elected was key to living a cushy life, and once won, the office was used to spread favors and wealth to one's friends, family, and tribe, while losing office in a subsequent election meant going back to poverty because private jobs simply didn't exist. This, of course, was a recipe for widespread corruption.
From the video: "Control of the government has been desperately important not only to avoid being oppressed by rival tribes but also because the massive role of government in the economy has made politics the preeminent route to prosperity as well as power whether for individuals, tribes, or regions. As of 1964 governments at the federal, regional, and local levels employed more than half of the wage earners in the country. Government also allocated large sums to the various regions which is also to say to the various tribes. In 1961 for example the northern region containing more than half the population of Nigeria paid only nine percent of the personal income taxes while it received 45 of the money allocated to the various regions by the federal government. At the same time the western region paid 64 percent of all personal income taxes and received less than one-fourth of the funds allocated by the federal government to the various regions. In tribal terms though Yoruba were subsidizing the house of Fulani and other Northern groups."
Whatever you might think about the unfairness of being laid off, I promise you that a growing government bureaucracy is not the solution you think it is! The government is just as self-interested as any corporation, the difference being the government gets to use force to compel you to do what it wants, while at least a corporation has to ask for your business.