The reason that fasting has an effect on the spirits of evil rests in its powerful effect on our own spirit. A body subdued by fasting brings the human spirit freedom, strength, sobriety, purity, and keen discernment.
Once two brethren came to a certain elder whose custom it was not to eat every day. But when he saw the brethren he invited them with joy to dine with him, saying: Fasting has its reward, but he who eats out of charity fulfills two commandments, for he sets aside his own will and he refreshes his hungry brethren.
Fasting was of no benefit to that Pharisee in the Gospel, even though he always fasted two days a week, because he had adulterated it with pride and condemnation of his neighbor (Luke 18:11-12). Not that this means fasting is unprofitable. Moses, Elijah & the Lord Himself showed how beneficial it is for those who fast properly in a way pleasing to God.
According to St. Gregory the Sinaite there are three degrees in eating: temperance, sufficiency, and satiety. Temperance is when someone wants to eat some more food but abstains, rising from the table still somewhat hungry. Sufficiency is when someone eats what is needed and sufficient for normal nourishment. Satiety is when someone eats more than enough and is more than satisfied. Now if you cannot keep the first two degrees and you proceed to the third, then, at least, do not become a glutton, remembering the words of the lord: 'Woe unto you that are full now, for you shall hunger' (Lk. 6:25). Remember also that rich man who ate in this present life sumptuously every day, but who was deprived of the desired bosom of Abraham in the next life, simply because of this sumptuous eating.
What good is it to keep meat out of your mouth if you bite your brother with wickedness? What good does it serve you to observe a strict frugality at home if you unjustly steal from the poor? What kind of piety teaches you to drink water while you hatch plots and drink the blood of a man you have shamefully cheated? Judas, after all, fasted along with the eleven, but failed to master his greed; his salvation gained nothing by fasting. And the devil does not eat, for he is an incorporeal spirit, but he fell from on high through wickedness. Likewise, none of the demons can be accused of gorging themselves, of excessive drinking or getting drunk, for their nature makes feeding unnecessary; nevertheless, night and day, they roam through the air, agents and servants of evil, eager for our loss. They ooze with bitterness and jealousy—things it is well to avoid—at the idea that humans may enter into an intimacy with God, since they have fallen from the supremely worthy dwelling.
In this time of fasting and prayer, brethren, let us with all our hearts forgive anything real or imaginary we have against anyone. May we all devote ourselves to love, and let us consider one another as an incentive to love and good works, speaking in defense of one another, having good thoughts and dispositions within us before God and men. In this way our fasting will be laudable and blameless, and our requests to God while we fast will be readily received.
I have said these things, not that we may disparage fasting, but that we may honor fasting; for the honor of fasting consists not in abstinence from food, but in withdrawing from sinful practices; since he who limits his fasting only to an abstinence from meats, is one who especially disparages it. Dost thou fast? Give me proof of it by thy works! Is it said by what kind of works? If thou seest a poor man, take pity on him! If thou seest an enemy, be reconciled to him! If thou seest a friend gaining honor, envy him not! If thou seest a handsome woman, pass her by! For let not the mouth only fast, but also the eye, and ear, and the feet, and the hands, and all the members of our bodies. Let the hands fast, by being pure from rapine and avarice. Let the feet fast, by ceasing from running to the unlawful spectacles. Let the eyes fast, being taught never to fix themselves rudely upon handsome countenances, or to busy themselves with strange beauties. For looking is the food of the eyes, but if this be such as is unlawful or forbidden, it mars the fast; and upsets the whole safety of the soul; but if it be lawful and safe, it adorns fasting. For it would be among things the most absurd to abstain from lawful food because of the fast, but with the eyes to touch even what is forbidden. Dost thou not eat flesh? Feed not upon lasciviousness by means of the eyes. Let the ear fast also. The fasting of the ear consists in refusing to receive evil speakings and calumnies. 'Thou shalt not receive a false report,' it says.
It is necessary most of all for one who is fasting to curb anger, to accustom himself to meekness and condescension, to have a contrite heart, to repulse impure thoughts and desires, to examine his conscience, to put his mind to the test and to verify what good has been done by us in this or any other week, and which deficiency we have corrected in ourselves in the present week. This is true fasting.
The right practice of abstinence is needful not only to the mortification of the flesh but also to the purification of the mind. For the mind then only keeps holy and spiritual fast when it rejects the food of error and the poison of falsehood.
But let thine apparel be plain, not for adornment, but for necessary conversing: not to minister to thy vanity, but to keep thee warm in winter, and to hide the unseemliness of the body: lest under the pretence of hiding the unseemliness, thou fall under another kind of unseemliness by thy extravagant dress.
The man who does not humble himself and does not cleanse his heart from evil desires fasts in vain. He may eat nothing at all, but it will be to no avail if there is evil inside him. He must first cleanse himself from the evil within in order to receive the Lord.
Sear your loins by abstaining from food, and prove your heart by controlling your speech, and you will succeed in bringing the desiring and incensive powers of your soul into the service of what is noble and good.
In no art do the artists judge the result of their work by the tools they use, but they await the work's completion and by it judge the art. Adopting such a practice with regard to food, not placing all your hope on fasting, but fasting moderately and according to the amount of your strength, strive toward mental activity. In this way you can avoid pride and will not spurn God's good works, sending up praises to God for everything.
And finally, did not the Lord Jesus Himself begin His divine ministry of the salvation of mankind with a long, forty day fast? And did not He, in this way, clearly show that we must make a serious beginning to our life as Christians with fasting? First, the fast, and then all the rest comes together with, and through, the fast. By His own example, the Lord showed us how great a weapon fasting is. With this weapon, He vanquished Satan in the wilderness, and with it was victorious over the three chief satanic passions with which Satan tempted Him: love of ease love of praise and love of money. These are three destructive greeds, the three greatest traps into which the evil enemy of the human race lures Christ's soldiers.
Fasting is beneficial when it is undertaken for quelling desire, humbling the soul, transforming hatred, extinguishing anger, erasing remembrance of wrongs, and for the purity of the understanding and the practice of prayer.
The partaking of food has three degrees: abstinence, adequacy and satiety. To abstain, means to remain a little hungry after eating; to eat adequately, means neither to be hungry, nor weighed down. But eating beyond satiety is the door to belly-madness, through which lust comes in. But you, firm in knowledge, choose what is best for you, according to your powers, without overstepping the limits...
People have to answer greatly for not keeping the rules of the Church with respect to the fasts. People justify themselves by saying that they never considered it a sin to eat dairy products during the fasts. They repent and consider themselves sinners in every other respect, but they do not think to repent about not keeping the fasts. Meanwhile, they are transgressing the commandment of our holy Mother, the Church, and according to the teaching of the Apostle Paul, they are as the heathen and publicans because of their disobedience.
When He had fasted for forty days and for forty nights, and afterwards was hungry, He gave an opportunity to the devil to draw near, so that He might teach us through this encounter how we are to overcome and defeat him.