Fasting has been ordained on as it was done on generations before you. The Quran 2:183 is clear in what fasting is meant to do – drive us to piety.