You have skills which other parts of the business cycle need.
If you aren't a "people person" then look to problem solving in logistics: the routing and scheduling behind everyday delivery is a heinous problem. Or, in the construction, mining and related sector. "for the want of a nail" problems abound.
(hint: root cause analysis? duck typing in a process debug?)
Operations Research: linear programming to derive the maximally efficient solution to a problem. Its everywhere.
Epidemiology: Go be a gun-for-hire in stats or data analytics for somebody with smarts in another space, drowning in data. Yea, you have to code. So what! the code will be fascinating and totally different
If you are a "people person" then non-product spaces like health are full of middle manager roles. And.. gues what: its logistics, scheduling, process analysis, root cause analysis. Supply chain behind masks and gowns has become pretty topical...
Look at your cohort, I would venture it's mostly 20 somethings men. Maybe the odd older guy but certainly not a diverse set of people. It's a young man's game because the burn out is real and for most people coding is just an unsustainable profession. Come to grips with the fact that maybe it is unsustainable for you.
It's a lot less tedious and easier in many regards working as an engineering manager. Or a product manager. Or something entirely different. Coding as a career isn't for everybody (wasn't for me). YMMV. If it isn't for you figure out how to change it, it might not be easy but it is probably worth it.
Source: ex-FAANG SDE.
https://www.theschooloflife.com/thebookoflife/what-should-tr...
maybe you'd like a managerial role? or if there's something you're interested you could try to get a job in that, in one of the courses in the EE portion of my Engineering program, a professor told us that after finishing all courses, with just about 4 more courses we could pursue Audio/Sound Engineering as a Career, if that interested us, it's basically some of the fundamentals, applied to sound signals, you could consider something like that
if you don't want anything to do with software... then I'm not sure what to recommend, give some more info about yourself?
like if you would think being a Mechanic is something you'd want... I've heard soldering (like heavy machinery soldering) can be very profitable, and fun, and the training for it takes around 6 months? something like that
But then, you get experience in Y. If you're good enough (sometimes just meaning hard-working enough), you might get recognized for it and offered an opening doing more Y if they decide they need someone. If not, you'll still have genuine "professional experience" in Y to put on your resume.
Maybe it's ok not to love it but to be satisfied regardless. It's an in demand, well paid, flexible, reasonably interesting (even if I would never miss it) career that allows me to lead a great life in other aspects without giving up too much. Can't that be enough?
I worry that the current narrative of having to 'love' your job is damaging and causing me (and maybe you) to always be searching for the 'perfect' career which doesn't exist.
Unfortunately I’m sort of in the opposite boat, I don’t know how to code and have never successful pushed myself to learn much. A previous instructor told me “maybe you just like the idea of it”.
...But if this option was available to you, you wouldn't be here, asking this question.
Different careers have different paths and ins and outs.