Yes, absolutely, but saying "it was depression" is not the same as saying "depression is a disease with a proximate cause that can be identified, diagnosed and treated."
The present debate surrounding depression is global in scope. No one knows whether depression is a disease in the way that a cold is a disease, or is an extreme case of normal emotion, not amenable to any kind of diagnosis or treatment.
None of this is meant to argue that depression isn't a disease in the way that a cold is a disease -- only to say there's no reliable science behind the claims.
But we do know this -- in controlled scientific studies, antidepression drugs don't actually work for the majority of patients:
Link: http://www.plosmedicine.org/article/info%3Adoi%2F10.1371%2Fj...
Title: "Initial Severity and Antidepressant Benefits: A Meta-Analysis of Data Submitted to the Food and Drug Administration"
Quote: "Meta-analyses of antidepressant medications have reported only modest benefits over placebo treatment, and when unpublished trial data are included, the benefit falls below accepted criteria for clinical significance." [Emphasis added]
Comment: Drug companies have been only publishing studies that supported their drugs, and discarding those that didn't. This study compares the outcomes for all the studies, published and unpublished, and the result is that antidepression drugs do not work for the majority of patients.