Massive Action? Weight loss


I read a response in here recently about massive action for weight loss. I’m wondering if it’s still massive action if you don’t give up on your weight loss goal even if you give into an urge? I didn’t see that as a part of the list of massive action for weight loss. Recently, I was struggling with a thought when I gave into an urge and subsequently gained weight which was “I’ve totally messed up, I guess I’ll just give up now.” But then I realized that’s just a thought and if I just move forward with my massive action for weight loss then I’ll just overcome failure (giving into an urge). So is the not giving up massive action too?