The reason I regretted dealing with programming from a professional standpoint is that I have realized I like it more as a hobby, not as a profession!
When it's your hobby, no one is telling you what to do, whether you are doing something wrong or not, nor to follow the latest trend with <X> framework or this new <Z> programming language; quite frankly, you simply don't care what others say to you, because you have found your rhythm, your pace if you will, with the tech stack of your choice; you know, the one that clicked with you immediately!
This is my personal experience up until I switch my hobby to professional career; that's when it went downhill and have stopped loving it ever since...I feel trapped, like millions of others than cannot escape this category.
When your boss would like you to be a DevOps and a full-stack developer, while following all the latest trends, their ins and outs, the countless JS / TS frameworks out there, we can have a chat on who's having it worse or easier than the other.
The grass always looks greener on the other side.
Most other mental jobs change at a much slower rate than in tech.