Without temptations, pure souls are not known, virtue does not show, patience is not discernible. Without temptations, it is impossible for the soul to become healthy. They are the cleansing fire which makes the soul pure and bright.
He who seeks grace from God must, above all, endure temptations and afflictions no matter how they come. Otherwise, if he becomes indignant and doesn't show enough patience during temptation, neither will grace manifest itself, nor will his virtue be perfected or will he be counted worthy of any spiritual gift.
Unless humility and love, simplicity and goodness regulate our prayer, this prayer - or, rather, this pretence of prayer - cannot profit us at all. And this applies not only to prayer, but to every labor and hardship undertaken for the sake of virtue.
'Grace always precedes temptations.' He knew that grace always precedes temptations as a forewarning preparation. As soon as you perceive grace, gird yourself and say: 'Here comes the call to battle! Beware, attend, O Clay, to where the wicked on will strike the battle. Many times it comes quickly, and many times after two or three days. In any event, it will come, and the earthworks must be firm. Confessions every evening, Obedience to the elder, humility and love towards all. By these means lighten the affliction.' Grace is divided into three stages: purifying, enlightening, and perfecting. So also are deeds: natural, supernatural, contranatural. According to these three stages on ascends and descends. The great gifts one receives are also three: contemplation, love, dispassion.
Peter was first given the keys, but then he was allowed to fall into the sin of denying Christ; and so his pride was humbled by his fall. Do not be surprised, then, if after receiving the keys of spiritual knowledge you fall into various evil thoughts. Glorify our Lord, for He alone is wise: through setbacks of this kind He restrains the presumption that we tend to feel because of our advance in the knowledge of God. Trials and temptations are the reins whereby God in His providence restrains our human arrogance.