The type of fasting done by Moses and Elijah were beyond human power, their faith sub ministered strength to their body for the 40 days. Because of that they were able to understand the Torah in their hearts, hear God’s voice, and See God’s glory. God begins to tabernacle with them, and they become peers in truth
The Shepard Hermas is visited by an angel during a fast and is told by the angel a better more perfect way to fast. By walking out the commandments and even going beyond what is commanded will be able to attain a more abundant glory from God. Fasting has more to do from the way we think and what we speak of more than just an abstinence from food.
Fasting was a way to deal with sin in the church. When someone had caused an offence in the church that person was put on a fast between 2 to 7 weeks, depending on the offense. They understood that fasting afflicts the soul to refrain from sin. Fasting is one of the most effective ways to get rid of sin. When they completed their fast, they inspected them to see if the sin was dealt with, if they truly had repented, they were allowed back into the body.
The Early Church understood how to attain the nature of God, by understanding the way He thinks will manifest things into existence. The patriarchs achieved a level of faith by fasting their thoughts which they said true fasting consisted abstinence from all evil. It’s not just the fasting of our thoughts, it’s producing acts of righteousness by the knowledge of God. Fasting and prayer this way will be able to achieve a level where we can just think (our thoughts being prayers) and God will answer our prayers.