It is important to remember that the environment drives our good behaviors as well as our bad ones. People who seem to stick to good habits with ease are often benefitting from an environment that makes those behaviors easier.
Meanwhile, people who struggle to succeed could be fighting an uphill battle against their environment. What often looks like a lack of willpower is actually the result of a poor environment.
Life is a game and if you want to guarantee better results over a sustained period of time, the best approach is to play the game in an environment that favors you. Winners often win because their environment makes winning easier.
— Excerpt from Chapter 12 of James Clear, New York Times bestselling book Atomic Habits —