Not Completing The Habit Is Dissatisfying

I have this habit for years of having a lunch at the same diner with a bagel, butter, jam, and potatoes. I am trying to follow a no flour no sugar protocol and succeeding for six days, then pass by the diner and breaking my Protocol for six days and on and off I go. Today I walked to the diner with the intention of having my go to meal and on the way I stopped and told myself ‘Hey! I don’t want to keep eating that way!’ But not keep going and eating felt incredibly dissatisfying and do I went and ate again. Did I do it wrong? I mean, the stopping and asking myself?