How comparing myself to others turns into misplaced anger

It took me a long time to realise that a lot of my depression was manifesting into misplaced anger. And that a lot of that was directed at people I could not help but compare myself to.