Seriously, you need to go outside dude.
Right now there are mass layoffs partially as a correction to the pandemic hiring spree, and also to redirect capital from salaries to AI initiatives.
It is fashionable right now for tech CEOs to pretend that enormous amounts of work being done by humans is now being done by AI, but none of these are companies where the velocity at which code was written was ever the main bottleneck in getting products out the door.
The software industry is overexposed because there are a lot of people earning hundreds of thousands of dollars a year to add fields to CRUD apps. These folks are in enormous danger, but when the dust settles the skilled professionals solving difficult problems will do just fine.
I guess I kinda resent your implication that the "skilled professionals", the worthy, you know, us, will be fine. I think the real danger is for the people who care. And for the rest of us who rely on the people who care.
Just look at the job offers and the responses they get on here. It's all trivial crap.