Yes, but actually doing that when you’re obese is extremely difficult and maintaining it is even harder than that. The best way I can describe how difficult, it’s like climbing Mt Everest and then discovering that you have to live up there. Lots of people do manage the climb, but staying up there is the real challenge and not a big percentage of people do. So, statements like yours while they’re technically true are ignorant of the biological and psycho-social dynamics of obesity, condescending (“why didn’t I think of just eating less!?”) and totally unhelpful.