Exactly that, and depression is rarely just the one issue, or rarely has just the one cause; if you're depressed because of e.g. poverty, just taking pills won't solve the root cause. I mean it might break a cycle and be a first step towards a better life of course, but that cycle could be broken by better circumstances as well.