I agree that discipline > motivation. And thus, habit formation becomes important. What I'd like to add here is what I call "learn to enjoy". I try to "learn to enjoy" waking up in the morning to go to the gym. I think it's just an euphemism to lowering the barrier between "what I want to do" and "what I have to do". What makes waking up early suck at times? How can I make it suck it less? How can I actually turn my mindset around so that I actually want to wake up early and go to the gym?