The Gospels speak of a time of solitude for Jesus in the desert immediately after his baptism by John. Driven by the Spirit into the desert, Jesus remains there for forty days without eating; he lives among wild beasts, and angels minister to him. At the end of this time Satan tempts him three times, seeking to compromise his filial attitude toward God. Jesus rebuffs these attacks, which recapitulate the temptations of Adam in Paradise and of Israel in the desert, and the devil leaves him “until an opportune time”.
The evangelists indicate the salvific meaning of this mysterious event: Jesus is the new Adam who remained faithful just where the first Adam had given in to temptation. Jesus fulfils Israel’s vocation perfectly: in contrast to those who had once provoked God during forty years in the desert, Christ reveals himself as God’s Servant, totally obedient to the divine will. In this, Jesus is the devil’s conqueror: he “binds the strong man” to take back his plunder. Jesus’ victory over the tempter in the desert anticipates victory at the Passion, the supreme act of obedience of his filial love for the Father.
Jesus’ temptation reveals the way in which the Son of God is Messiah, contrary to the way Satan proposes to him and the way men wish to attribute to him. This is why Christ vanquished the Tempter for us: “For we have not a high priest who is unable to sympathize with our weaknesses, but one who in every respect has been tested as we are, yet without sinning.” By the solemn forty days of Lent the Church unites herself each year to the mystery of Jesus in the desert.
From the Catechism of the Catholic Church 538-540