I can pipe in on this.
I had the highest paying job to date and 40+ in age. And then: brain tumor
Fired two days after returning home from operation, with no warning at all. In fact, was sure I would continue with company due to the lack of skilled teammates and many undocumented systems that needed cleaning up. Termination was a blow to more than my pride, literally couldn't speak for an hour.
Finding a job post this has been a world of hurt and no idea why. Age? Likely. Unwilling to move? Yes, for good reason.
Screwed? So far.
Need a linux guru, let me know.
Staying at a company that is loyal to you in the first place is a great choice.