I've kinda had similar realizations to what you mentioned, althoughI can still kinda enjoy programming occasionally. Any idea where you're gonna go from here? Personally, the most realistic path is to just remain an enterprise code monkey unless salaries get massively deflated, and then move to tech adjacent business fields (management, etc.). I'll absolutley loathe the coming decades, but there isnt a ton of well paid options for an uneducated person that doesnt depend too much on luck.
If i did not have my startup that's starting to go well and hopefully i will be able to live of it. I would be an enterprise code monkey, there are still plenty of directions away from programming you can go from that direction and still make an middle class to upper middle class salary.
That is if you still can deal with the people who work in tech. I rather work with normal people who knows what they do is just an office job, other then people who believe they will cure cancer with their CS degree and CRUDy mobile app they are developing on their free time.