The calorie theory of obesity has been perhaps one of the greatest failures in the history of medicine. Given the number of excess deaths caused by metabolic syndrome, you could argue that it is a bigger disaster than World War II. It is based on a complete misinterpretation of the energy balance equation.
Source: Counting Calories is a Ridiculous Way to Try to Lose Weight