I've been working as a programmer during the last 5 years (my first five years of working experience). When I started working, I really enjoyed it. The problem is that some months ago I started developing a project for my company where my boss drove me crazy.
The fact that he was shouting at me in the office at least three times a day made me feel unconfident and insecure while working. I started to associate work with feelings of depression, and I started to think that working demands too much time instead of enjoying my finite life and this depressed me even more.
Finally, I got a new job a month ago because I couldn't stand the situation any more. Everything is okay here (no oneis despising me), but I'm starting to feel depressed again about working, and I'm starting to feel that I'm wasting my life, and this is making me feel bad. I don't want to think those things because I need to work to sustain my family, but I can't stop those feelings.
Could anyone give me a start/hint on how to change this situation? Has anyone experienced this?