Willpower
Environment beats willpower.
Fighting environmental triggers is a lot more effortful and a lot less promising than avoiding these triggers in the first place.
Discipline is not the only path towards good behaviors — often, it's even the least effective one.