The Spirit immediately threw him out into the wilderness. And he was in the wilderness forty days, being tempted by Satan. And he was with the wild animals, and the angels were ministering to him.
(Mark 1.12–13 ESV)
Then Jesus was led up by the Spirit into the wilderness to be tempted by the devil. And after fasting forty days and forty nights, he was hungry. And the tempter came and said to him, “If you are the Son of God, command these stones to become loaves of bread.”
But he answered, “It is written, “‘Man shall not live by bread alone, but by every word that comes from the mouth of God.’”
Then the devil took him to the holy city and set him on the pinnacle of the temple and said to him, “If you are the Son of God, throw yourself down, for it is written,
“‘He will command his angels concerning you,’
and
“‘On their hands they will bear you up, lest you strike your foot against a stone.’”
Jesus said to him, “Again it is written, ‘You shall not put the Lord your God to the test.’”
Again, the devil took him to a very high mountain and showed him all the kingdoms of the world and their glory. And he said to him, “All these I will give you, if you will fall down and worship me.”
Then Jesus said to him, “Be gone, Satan! For it is written, “‘You shall worship the Lord your God and him only shall you serve.’”
Then the devil left him, and behold, angels came and were ministering to him.
Now when he heard that John had been arrested, he withdrew into Galilee.
(Matthew 4.1–12 ESV)
And Jesus, full of the Holy Spirit, returned from the Jordan and was led by the Spirit in the wilderness for forty days, being tempted by the devil. And he ate nothing during those days.
And when they were ended, he was hungry. The devil said to him, “If you are the Son of God, command this stone to become bread.” And Jesus answered him, “It is written, ‘Man shall not live by bread alone.’”
And the devil took him up and showed him all the kingdoms of the world in a moment of time, and said to him, “To you I will give all this authority and their glory, for it has been delivered to me, and I give it to whom I will. If you, then, will worship me, it will all be yours.” And Jesus answered him, “It is written, “‘You shall worship the Lord your God, and him only shall you serve.’”
And he took him to Jerusalem and set him on the pinnacle of the temple and said to him, “If you are the Son of God, throw yourself down from here, for it is written,
“‘He will command his angels concerning you, to guard you,’
and
“‘On their hands they will bear you up, lest you strike your foot against a stone.’”
And Jesus answered him, “It is said, ‘You shall not put the Lord your God to the test.’”
And when the devil had ended every temptation, he departed from him until an opportune time.
And Jesus returned in the power of the Spirit to Galilee, and a report about him went out through all the surrounding country.
(Luke 4.1–14 ESV)