Safety is not possible when you are working for other people. Work hard, make sure your team knows it, live below your means, and keep your resume and network ready. No matter how hard anyone works, sometimes they just get cut or passed over for promotion. Control what you can control and accept what you cannot.
Exactly this. People who think joining another company will save them from layoffs are being naive. Everyone’s laying people off. Some more, some less, but it’s happening everywhere. Job security is a thing of the past. Just stay prepared, and you’ll be fine no matter where you work.