Human nature dictates that the minute you tell yourself you can't have something, you want it even more.
When trying to lose weight
there is no need to tell yourself you can never have something. Eat mindfully (slowly, enjoying the food) in moderation. Sometimes you will find that healthier substitutions that are similar to your craving will hit the spot as well.