If you choose a strict diet that severely limits the foods you eat, such as eliminating one or more food groups or mainly eating only one or two foods, this will bore you and you will lose interest in the diet before too long.
The body likes variety and so do your taste buds.
This is also unhealthy as your body needs a number of different vitamins, minerals and nutrients and it can only get these from a variety of food choices.
Do not limit yourself to the point of ridiculousness. This is not an effective means of losing weight and it will not work.
Allow yourself to have dessert occasionally if it is what you desire.
Just make sure you have a small piece of pie or cake or one scoop of ice cream, not two! The simple truth is just that deprivation will get you nowhere.