When it becomes hard for me not to eat bad food, I try to think about what I have to do and what is ahead of me and what I want to achieve.
or simply: