Jesus went into the wilderness and "ate nothing" for 40 days and then the "tempter came to Him" with the main 3 temptations. Luke tells us that Jesus was being tempted throughout the 40 days.
"Then Jesus, being filled with the Holy Spirit, returned from the Jordan and was led by the Spirit into the wilderness, being tempted for forty days by the devil. And in those days He ate nothing, and afterward, when they had ended, He was hungry." - Luke 4:1-2
The Bible also says that during the 40 days and nights while Jesus was fasting there were wild beasts with Him. It also mentions that during his temptations angels were ministering to Him.
"And immediately the Spirit drove Him into the wilderness. And He was there in the wilderness forty days, tempted by Satan, and was with the wild beasts; and the angels ministered to Him. " Mark 1:12-13
"And immediately the Spirit drove Him into the wilderness. And He was there in the wilderness forty days, tempted by Satan, and was with the wild beasts; and the angels ministered to Him. " Mark 1:12-13
The New Testament - A Brief Overview
Brief History of the Temptation of Jesus Scriptures and Topics Covered: Jesus Led by the Holy Spirit The Wilderness The Devil Jesus Fasts 40 Days and 40 Nights The First Temptation - DO NOT TRUST GOD The Second Temptation - PUT GOD TO THE TEST The Third Temptation - RULE THE WORLD AND BOW TO SATAN The Angels Came and Ministered to Him The Devil Departed Until an Opportune Time. Matthew 4:1-11 Mark 1:12-13 Luke 4:1-13
"Then was Jesus led up of the Spirit into the wilderness to be tempted of the devil." Matthew 4:1
Jesus Led by the Holy Spirit
According to the Bible Jesus was led by the Holy Spirit into the wilderness to be tempted by the devil. The Spirit of God chose to make the very first mission of the Messiah a contest between the king of this world and the real King. The devil could only use the things of this world, the things that all men are enslaved by, the enticing pleasures of sin, to offer Jesus. He was no match for Jesus because sin had no power over Him.