After he described the occasion of the temptation and the manner of tempting, here he describes thirdly the consummation of the temptation, concerning which three things are intimated. The first is the manifestation of perfection on the part of Christ resisting: with respect to which he says: And when all the temptation was ended, because, as was said before, every temptation is reduced to the three aforementioned: whence First John 2: "All that is in the world is the concupiscence of the flesh," etc. This he consummated, because by patiently enduring he overcame, according to that passage in ...Hebrews 2: "It was fitting for him who had brought many sons into glory to consummate through suffering," because it is said in Deuteronomy 32: "The works of God are perfect."
The second is the confutation of presumption on the part of the devil withdrawing; with respect to which he says: The devil departed from him: according to that passage in James 4: "Resist the devil, and he will flee from you." He departed, namely confounded: which was signified in the king of the Assyrians, Fourth Kings 19: "The king of the Assyrians Sennacherib departed and went away"; which is interpreted as taking away deserts, because the devil especially pursues those who live in austerity of life.
The third indeed is the predetermination of time on the part of God disposing: on account of which he adds: Until a time, namely "of the passion," he departed, because that malignant one is not permitted to do evil except for the time which God permits, although he always has an evil will; Ecclesiasticus 19: "If he finds a time to do evil, he will do evil." And therefore the counsel is in Ecclesiasticus 4: "My son, preserve the time and turn away from evil"; and Ephesians 5: "See how you walk cautiously, redeeming the time, because the days are evil." Whence since the devil tempts in two ways: as a dragon and as a lion, first he tempted as a dragon to seduce, afterwards as a lion to break in the passion. For in the first he tempts to soften through blandishments, but afterwards, seeing that he has little time, he tempts to break through punishments: whence Apocalypse 12: "The devil has come down, having great wrath, knowing that he has little time." And therefore those did not arrive at the consummation of time about whom it is said below in chapter 8, that "they believe for a time and in the time of temptation they fall away."
Source: Commentary on Luke, Chapter 4