It’s a side effect of socialism. I was born and raised in true socialism in eastern Europe and one of my first memories is the family drama when my father decided to quit government job (in that time all companies were owned by state so every job even in ship building company was government job) to start his own private business as this was a first time in my country when it was actually legal to own private business after 50 years. The main argument was precisely what you described - you are giving away security of government job for huge amount of risk and insecurity of operating your own business!?! In the end it was the right decision but boy was it hard for my grandparents