As I got older in my position, I got more of the jobs that no one wanted to do. Some of them were obsolete technology (career killer) or they have a high negative rating (you only get recognition when it messes up).
In a corporation, that can be bad (”What does AP do? I don’t know. Cut him”) because they only find out you were necessary after all Hell breaks loose. BTDT.
When someone turns 50, they need an exit strategy that makes you marketable at your age. Sometimes that strategy is to make yourself into a consultant that the company can hire back.
“As I got older in my position, I got more of the jobs that no one wanted to do.”
https://dilbert.com/search_results?terms=Legacy+System