your problem seems to have little with your career and a lot with with your depression.
I suggest that you visit https://brokenbrain.com/ to listen to what Dr Hyman has to say about the root causes of depression.
And guess what... if you can find your root causes you can solve your depression.