Losing weight is only a bonus for me, you could lose weight by following a diet that exclusively consists of eating a cube of sugar every XX minutes if you wanted to. Where fasting shines is that it helps control hunger and energy levels. A normal person in the west is basically always in a fed state (bf, lunch, snack, dinner) to the point it's hard for most people to differentiate thirst from hunger from boredom.
That is fair, there's a mental component that is hard to measure. For me, eliminating carbs from meals was much easier than fasting.
I noticed this right away when I was fasting occasionally. I couldn't remember the last time I felt hungry! And after a bit, it was easy to differentiate "Primed to eat" from "Actually hungry", as well. We're creatures of habit.