Depression is caused by more than just external events. Yes, based on personal experience, but there are more factors to be considered and fixing one issue may not solve the problem.
I disagree. You and I know that personal experience isn't good to generalize from. But in my personal experience, the vast majority of the time that people use the phrase, they do so to communicate that they know things to be a certain way, at least strongly enough to base other conclusions on.
"Rather, depression has many possible causes, including faulty mood regulation by the brain, genetic vulnerability, stressful life events, medications, and medical problems."[0](https://www.health.harvard.edu/mind-and-mood/what-causes-dep...)