If you eat fewer calories than you burn will you loss weight? Yes, of course.
Do people have trouble sticking to calorie deficient diets? Yes, that's why so many people are fat.
Note that this physiological state (leptin resistance) is likely an evolutionary survival advantage as people would be insulin-flooded when eating fruit in the late summer and early fall, just as packing on weight for winter would be most advantageous. Since we never have the proverbial winter to lose the weight and restore leptin sensitivity, we are left starving and eating more all of the time.
People don't get fat because they are eating too many calories. People are eating too much because, physiologically, they are getting fat. Hormones drive the behavior.