I've got the opposite experience from a lot of people on this thread: I've hated every dev job I've ever had for the last 10 years or so (I'm also 30) and have recently started working retail (which is fine, I can't pay the bills with it, but I don't hate my life every morning at least) while I try to figure out how I can stop working for terrible tech companies that just build garbage as quickly as possible no matter how much they screw over the users doing it. Unfortunately, most of the tech I've worked on that I think could actually help people also doesn't pay the bills.
I haven't come out the other side, so I can't help you there, but you're not alone. Lots of people change careers after a few years. It's going to be hard, but I'm sure we'll figure it out.