I was laid off months ago. I have stopped cold the tremendous amount of work I was doing on personal projects and open source contributions. I cut off the programming nonsense cold turkey. I am done, and I don't feel any regrets or sadness about it. (I have secured a new job recently though, but its in test automation using a language I have never written in and it pays more.)
Even though this is roughly 15 years of my life I am walking away from I feel so much better now. Here is why:
* I worked on personal projects because I am a creative person who likes to do creative things that I cannot do at work. Now if I want to be creative I practice piano, study history, or do absolutely anything else.
* Working on personal projects allowed me to be ambitious without social constraints and it made me a vastly superior programmer. This is bad, because it put me completely out of alignment with hiring norms. The typical programmer knows what they are required to know to do their job in the office and almost nothing more, which is a stupendously narrow (ignorant) perspective.
* Developing for employment sucks. Your peers are typically super entitled and half the time have no idea what they are doing without a mountain of tools to do half their job for them. As a military guy I had nothing but disdain for the frequently failure followed by stupid excuses, whining, and insecure defensiveness. I also don't miss the pointless meetings that would last forever and accomplished nothing. Worse than all of that is that many developers cannot communicate only any level except an audio call and then even that can be rough. In many ways software hiring is an institutional and educational failure without a unifying sense of professionalism. I would rather be poor than go back to that.
* Unless you are an entrepreneur capable of raising investment capital or are actively trying to get promoted out of software there is no motivation to be ambitious about writing software for employment. None. For years my only ambition was to automate away the stupidity of the work so that I could justify my employment and simultaneously do absolutely anything else other than assigned work.
* I also got tired of being a punching bag by superiors who had no idea what they were doing. When things fail and risk was never considered in the design of the work there will always be fingers to point and shit rolls down hill.
---
My recommendation is if you need to detach yourself from you developer job then just stop doing it. You will get a tremendous amount of social crap about this from your offline social orbit, but fuck them. If they are envious of the high paying job then they should go do it. I have been dealing with this nonsense for months and you will not be able to make them understand your perspective.