I've been burnt out twice. Once to the point of being on short-term disability for 3 months. I've also risen in my career from door-to-door sales to leading an AI based technology startup. Here's what I recommend to get the reset you need:
Step 1 - Reset your mind and your body:
Get rest. If you have the resources, quit your job and rest.
Move. If you're not exercising, start. If you are keep doing it.
Breathe. Learn to be still and meditate. The best meditation technique for me at that time was Vipassana (it's free and they feed you + give you a place to stay). I also learned about self-compassion meditation on this podcast https://jackkornfield.com/tim-ferriss-podcast-jack-kornfield...
Learn how to be kind to yourself. Stop comparing yourself to others. Instead, figure out what you need and want. It helps to keep a gratitude journal. Sounds silly, but it's highly effective.
Reframe. You did not waste your youth. You did the best you could with what you knew at the time. You want better for yourself now. This is the beginning of the next phase of your life. It's also really uncomfortable so manage your expectations.
Step 2 - Reconnect with anyone from your past who made you feel good about yourself. Ask them what they see your strengths are. It's often hard for us to see our own strengths because our strengths come easy to us.
Step 3 - Follow your curiosity. Want to draw? Set yourself up for success. Don't say I want to draw then grab a pencil and not be able to draw. Take a class or watch a YouTube video. If not drawing, anything. Relearn things you liked doing as a kid but stopped doing. Find something to do that's not work. It will serve you well when you do work.
Step 4 - Up-skill. Whatever it is you're wanting to achieve, talk to people who are where you think you want to be and see what they did to get there. Then do those things.
Talk to a minimum of 5 people in that position. Better is talking to 20. Listen carefully for things they don't like about it. If those things go against your nature, you may want to rethink what you want. I've built things from scratch. I've had 7 career changes and my own business. Each time I thought it was what I really wanted only to get there and decide it's not for me.
Step 5 - Meet new people in the area you want to be in. Join meetups, online communities, Slack groups, etc
Whatever your next move is make sure it's not at a culture of overwork. You're right about your hourly wage. Better to work 40 hours a week for that wage and have 20-30 hours a week for your own projects. Don't worry that you haven't made any of them big. Having a grand slam is going out of fashion. Now people are building boring businesses and making multiple small bets so they can own their time and improve their quality of life. One of your strengths is you have a good work ethic. Have some of that work be for yourself.
For inspiration, check out Daniel Vassallo's Portfolio of Small Bets cohort course. It's a community with many devs among others building a bunch of things (info products, e-books, e-courses, microSaaS, e-commerce, and more) with the idea of investing in themselves and their own portfolio of products.
Also check out the boring business movement for some ideas on reframing away from building from scratch. @Codie_Sanchez on Twitter and Nick Huber on YouTube are a couple of big names. Try a bunch of things. Don't expect to get it right on the first try.
It's not about working hard or working efficiently, it's about working effectively. Focus on that and you'll get there but not without learning how to be kind to yourself. Otherwise you will constantly get in your own way. For me, I've accepted this as a life long struggle. Being aware of how I can be down on myself helps me catch it before it becomes a problem.
You have everything you need to live the life you want. You just need a reset. I wish you all the best