According to the latest research, the best way to lose weight is to eat less food less often. They call it “Intermittent fasting”.
There are different types of ‘intermittent fasting’; for instance, one is time-centered - you don’t eat anything at all for long periods of time. (I generally don’t eat anything from bedtime until about 1 or 2 in the afternoon.)
Another form is alternate day fasting, where on some days you eat nothing.
All of this is much easier if you’ve been on a very low-carb diet for a few days at least - you just lose your appetite when you are eating that way.
I’m not sure there is valid scientific evidence on the benefits of any of this...