That's a fine philosophy on a personal level, but if the labor market is shocked for entire sectors there's not enough slack in the system for all of those people to adapt at once. That's how you end up with lost generations.
You’re too kind. That’s how you end up with civil unrest. See: early Covid
i go back to what happened to Journalism when the Internet and especially "web2.0" took off. It was hard on the industry but I don't think we have lost generations of journalists. The software biz has always expected everyone else to adapt to technological shifts at a rapid pace. I'm a dev (more of a lead/mgr these days) so my neck is on the line too but even i have to chuckle at the irony.