Matthew 4:1-11 and Luke 4:1-12 narrate the temptation of the Lord Jesus Christ. Satan tried to entice Jesus to obey and worship him, but Jesus defeated him with “the Sword of the Spirit” – God’s Word.
Satan was taking advantage of Christ vulnerability (he was hungry after forty days of fasting) to lure him into making the stones bread, but the Lord said,
It is written, man shall not live by bread alone, but by every word that proceeds out of the mouth of God.
Then, using the Scriptures (Psalm 91), the devil took Him to the pinnacle of the temple to make Him demonstrate how Christ’s angels would prevent Him from falling to the ground if He jumped down from there. Christ said,
It is written again, Thou shalt not tempt the Lord thy God.
Finally, Satan took Jesus to a high mountain to show Him the riches of the world, offering to give them to Christ if only He would prostrate and worship the devil. And again Christ answered with the Sword of His Mouth,
It is written, Thou shalt worship the Lord thy God, and him only shalt thou serve.
At this point, Satan left Him alone for some time.