Studies have shown it again and again: Strict diets alone don't work. Strict dieting restricts calories and nutritious foods. This can cause you to feel deprived and result in bingeing or overeating.
The most effective way to reach an ideal weight is to burn more calories than you take in.