@OP,
Every company is using the pandemic as an excuse to clean house. Companies have realized that individual productivity of an employee declines after a certain age while the overall cost of retaining the same employee increases. In other words, companies pay more and get less. You would be doing the same thing if you were them.