I have been in a similar situation, on a Saturday morning right after a farewell for a colleague and planning for next big release and timelines, late Friday.
I got an email from my company early on next Saturday, so I tried to log into my laptop which was now wiped(to my horror).
At that very moment I checked my DMs and realized most of my team was out the door.
No warnings, no justification. I had been promised promotion, I had been promised growth, and I had already seen a round of layoffs with promises to not do more. We were the "valued" members and we were needed.
Well not so much I guess.
Now I don't care, tbh maybe I still do. I want to, just not care though, and I am always prepared, if even a single bad sign comes up I will be out. But I don't know if I will still see it coming.
I just want to tell to anyone else in a similar situation, don't be sad often it might be a good thing.
I managed to land jobs within the same month and my next job paid me over 2x my previous one. And it helped me grow in my career.
I have changed a lot more jobs till date and I love what I do now, but I still often care too much.
I hope people can find hope here.
Also a couple of my friends had similar luck and one of my former colleagues also now has a startup of their own, they built it on top of their open source project that got surprisingly popular.
Best of luck, world can be rough but, I hope folks just don't stop trying to do something to improve it for themselves and rest of us.
And F execs, I guess. :)