Earlier quoted context omitted.
Calling it a "predictable eventuality" implies the victim is at fault for not preparing. I have a number of friends (of course, not software devs) who are aware that their company may at any point dump them (one company goes even so far as to say regularly "everyone is replaceable," and I have not been able to talk said friend out of leaving...). Due to a variety of reasons / excuses, they can't or won't leave these…
People treat being laid off like they treat death - it's something they intellectually know can happen, and does happen to others, but they're always entirely surprised when it happens to them. Many people (myself included!) have a hard time saving against potential outcomes and find it convenient to explain away why I don't (as I spend money on non-necessities).
Not always. When I was laid off I wasn't surprised in the slightest. There had already been layoffs and the company eventually effectively shut down.