Get into a different part of the industry: I’ve never touched any of that stuff and have gotten on quite fine for 30 years so far. From the outside, the software engineering world of the web-centric tech industry is one that sounds absolutely dreadful (and has for a while). There is a ton of software being written that isn’t nearly as miserable.
Of course, if ones metric is “FAANG or nothing” or maximizing compensation, you get what you seek - which may be miserable work in exchange for status and cash. I realized a long time ago that neither status nor cash outweighs enjoying what I do.