> its purpose being to cleanse the soul by freeing it from harmful impurities. Muslims believe that Ramadan teaches them to practice self-discipline, self-control,[65] sacrifice, and empathy for those who are less fortunate, thus encouraging actions of generosity and compulsory charity (zakat).[66]
"O you who believe, fasting is prescribed for you as it was prescribed for those before you, that you may develop God-consciousness." https://quran.com/2/183
(In Arabic) https://islamqa.info/ar/answers/232635/%D8%A7%D9%84%D8%B4%D8...