Refined sugar: not fine. Small amounts of natural sugars in vegetables and fruits: fine. Or even one or two squares of 70% dark chocolate.
Deprivation and replacement low fat/low sugar transformed products are not likely to lead to sustained weight loss.