In the 2000 crash it was still fairly easy to find a job if you could code. Even though the big tech companies of the time were doing mass layoffs and losing 95% of market cap.
Who knows what it will be like this time. But I wouldn't take layoffs at high profile publicly traded tech companies as an indicator of the whole market. In some cases these companies are still even hiring a few engineers here and there while doing layoffs.
So far as I can tell demand for software engineers may actually be slightly higher than it was a year ago in the larger market.