Temptation isn’t easy for anyone to avoid or overcome, but it is possible with the help of Jesus. We are given this admonition by James in chapter one, verse 13 of the self titled book, “When tempted, no one should say, "God is tempting me." For God cannot be tempted by evil, nor does he tempt anyone;” Therefore by faith we believe that God cannot be tempted, but His only Son was tempted. The temptation of Jesus must be examined as a whole, by reading it in context in order to gain insight and understanding for the purpose of application for the life of a follower of Christ.
Matthew chapter four verse one is where we begin to observe this temptation.
“Then Jesus was led by the Spirit into the desert to be tempted by the devil. After
fasting forty days and forty nights, he was hungry. The tempter came to him and
said, “If you are the son of God, tell these stones to become bread.” NIV
The word “then” establishes the time of the occurrence of this temptation as evidenced by the words of Mark (here) and Luke (here)
We know from Scripture that Jesus had been baptized and was immediately led into the desert by the Holy Spirit for the purpose of being tempted by the devil. He knew the temptation was coming and that He must prepare Himself for it which is indicative of the forty days and forty nights of fasting. It was more important that He prepare spiritually than be nourished physically.
It is important to note that the Spirit did, in fact, conduct Jesus into the wilderness in order to try His faith. The Spirit was not the agent by which His faith was conducted.
As followers of Christ, we are surely aware that we will be tempted and tried by the enemy of our soul. We cannot avoid all temptation simply because we live in a fallen world. How then should one who has a relationship with Christ Jesus deal with temptation? Perhaps fasting is the answer, but certainly by prayer and Scripture are invaluable tools. We cannot remain in fellowship with the Father without communing with Him daily in prayer and reading of His Word.