This is old news. Those who are surprised by this are seriously naive.
Many many decades ago, my then FIL got let go from his job after 25 years. He was devastated.
I was talking with him one day and he said, There’s no such a thing as company loyalty. Follow the dollar sign.
And that’s what I did. Self funded my own pension. As soon as I started a new job, I was already looking for the next higher paying one.
I am now retired and living comfortable.
Take a class in financial planning. I did and the time spent is worth it’s weight in gold.