Principal software engineer here. I've worked at some of the best companies in the world for the last 10+ years. I got laid off last month.

Don't feel bad, the market is tough. We're all feeling it. There's a way out that isn't an heroing. There's lots of options and work for folks like you, it's just going to be not ideal for the first few years.

Don't be sad bro