The whole evolutionary point of depression was to serve as a call for extra support from the group.  Modern hyperindividualistic methods of treating depression often don’t work.  It is easy to see why, everyone naturally does (and indeed is expected to) optimize for individual happiness and that involves staying far away from anyone that could bring you down.