The Google layoffs remind me: When I considered starting my first company I worried about "job security".

My then-girlfriend said:

"Big companies do not provide job security. They provide the service that you are the last person to know when the job is gone."

Wisdom.

@HalvarFlake In a small company, you lose your job when the company goes bankrupt. It happens, but usually, you have some signs that it could happen in advance. In a large company, you learn that you're fired the same day. Long-term it's usually safe since the company is stable, but when they lay off you, you don't know in advance, your manager doesn't as well, and his manager doesn't either... In the first case, it can be more likely, in the second, more unexpected.
@tymwol @HalvarFlake I had the best of both worlds: being the IT (and sometimes accounting) department at small- to medium-size businesses. So I was essential for operations, and I knew at all times the health of the business. Nothing I could do to turn things around when they got bad, but if I could train myself not to stress as long as I was getting a paycheck, I could ride it out.