Deprivation leads to overeating. This is why diets don't work. They leave you deprived. Deprivation comes in many forms.
It may be depriving yourself of the types of foods you want, while continuing to eat adequate quantities of other foods. When taken to extremes it is commonly referred to as orthorexia, an obsession with only eating perceived "healthy" foods.
Another form of deprivation is depriving yourself of the amount of foods you want. Sure, you may be eating all of your favorite things, but if you're not allowing yourself to eat enough to be satiated you're still left feeling deprived.
If you're depriving yourself with food, I can't help but wonder what else you're depriving yourself of. Perhaps fun, rest, relaxation, creativity, hobbies, social time, alone time, or other things? Where does your belief come from that you can't/shouldn't have these things? You are deserving, just the way you are.
You also deserve to eat the foods you like in satisfying amounts, without deprivation.