In reality, nobody does.I'm sorry for the situation you found yourself in, but that isn't remotely true. I've been working independently for a while, and I've sometimes discussed how much is worth putting somewhere safe in the current economic climate with friends in broadly similar positions. The idea that anyone wouldn't do that was universally regarded as crazy.
Of course there might be exceptions. If you're starting your first business and you're bootstrapping, you might choose to accept a much higher level of risk than most normal employees ever would in order to maximise your chance of eventual success. (I know reasonable people who would disagree with even this, but there is at least a decent argument in its favour.) If you have a dependent with a serious medical problem and you need the money to fund treatment, you do what you have to do.
But if you're working in IT, in a good period, and you really are living month-to-month without either building up an emergency fund or having a clear reason to be spending everything you've got on something that is more important to you, I'd recommend consulting a good financial advisor and working out a budget so you can live within your means and better protect yourself before the next down period in the industry.