You have to advance your career, acquiring skills, reputation, and status, as your skills depreciate. Budget time for "career maintenance", and consider the future when selecting a position.
Of course if all the career maintenance happens on paid company time, then I see no problem. But unfortunately for SWE's at least that's often not the case.