No, my advice to people is always that you are not defined by your job.
I had a very memorable experience at Intel when I came to the Bay Area just as the "semiconductor recession" hit. A friend of mine there was a process engineer and getting laid off. He was super depressed and wailing about how there were no jobs for "people like him" any more and how he was going to end up homeless. Two weeks into his job search I asked him, "Why do you have to have a process engineering job?" and he said it was what he studied for, what he knew, so he felt the only thing he was qualified for. We talked about it some more and I suggested he had lots of skills that were transferable to lots of jobs. He spent the next 6 months as a math coach for AP calculus students and then got a job at an early ISP as an installer. He prospered in that job and from then on 'job flexibility' was more of his mantra than 'I'm a <can do this one thing> person.'
So my advice to people in tech with Google and Meta on their CV who are struggling to find employment again is to ask themselves if they are defining themselves by the job or by what they can do? I find asking them if they have considered the trades has two positive effects, one it pulls them waaaay outside their self defined box, and it gets them to actually think about how they define themselves.