Obviously a lot of depression is genetic or due to some unfortunate life circumstance. It's got nothing to do with intelligence.

But what I've also noticed is that a lot of people with unbalanced lifestyles end up becoming depressed.

For example, they might have a habit of going to bed at weird inconsistent times, wake up late, eat junk food, not regularly exercise or go to the gym, etc.

Someone with that lifestyle is much more likely to become depressed compared to someone who sleeps 8 hours a night, wakes up at a reasonable time every morning (i.e. 5am - 8am), has a stable job, and exercises regularly.

Humans are built for routine. Drifting away from that is unnatural.

Have you thought about whether this is kind of backward? It is possible that having a certain genetic predisposition makes it easy or difficult to stick to a good routine.

I see this in myself: No matter what I do I find it very difficult to stick to one routine day after day after day. I just kind of get extremely bored with it quickly. I know my life would probably me noticeably better with more routine, but I'm just not wired that way.

I do have a lot of creativity, so maybe that's the price I have to pay for that.

Long story short: people are wired very differently for each other.