Except by the original train of thought "everyone is laying off bad developers" so if you accept this (IMO flawed) premise you're going to be in a worse position after you get through this gigantic process.
Should someone laid off as a developer simply accept they can't cut it, leave the industry, and find a job as a barista where at least they can earn some tips?
You make a lot of assumptions about what devs are being laid off in the first place. And about the absolute quality of a developer.
One company's garbage developer is another company's 10x.