Quran 20:81 Eat of the good things We have provided for your sustenance, but commit no excess therein.
Fasting is good for you. Very good. Josh Mittledorf, in Cracking the aging code: The new science of growing old and what it means for staying young, 2016, estimates he's added a decade, a good, healthy decade, to his life with his regime, which includes a weekly fast from 10pm Wednesday to 8 am Friday, when he only drinks water. He has figured out other ways to trick his mind into operating in its highest metabolic mode, but the main thing is the fast. Fasting has long been a spiritual exercise to quieten the body's incessant desires for petty satisfactions, real world distractions.
It is of course the no-brainer way to lose weight, but the marvel, paradox, is that for all living creatures, reducing consumption to just above starvation guarantees better health and longer life.