That's not true at all. Also, historically, there's been a trend of attributing negative things to depression. I've read John Cacioppo's work (here's an interview: https://www.theatlantic.com/health/archive/2017/04/how-lonel...), and as far as I know it's both scientifically well-founded and at least somewhat actionable.