From The Imitation of Christ
IT IS good for us to have trials and troubles at times, for they often remind us that we are on probation and ought not to hope in any worldly thing. It is good for us sometimes to suffer contradiction, to be misjudged by men even though we do well and mean well. These things help us to be humble and shield us from vainglory. When to all outward appearances men give us no credit, when they do not think well of us, then we are more inclined to seek God Who sees our hearts. Therefore, a man ought to root himself so firmly in God that he will not need the consolations of men.
When a man of good will is afflicted, tempted, and tormented by evil thoughts, he realizes clearly that his greatest need is God, without Whom he can do no good. Saddened by his miseries and sufferings, he laments and prays. He wearies of living longer and wishes for death that he might be dissolved and be with Christ. Then he understands fully that perfect security and complete peace cannot be found on earth.
Many people try to escape temptations, only to fall more deeply. We cannot conquer simply by fleeing, but by patience and true humility we become stronger than all our enemies. The man who only shuns temptations outwardly and does not uproot them will make little progress; indeed they will quickly return, more violent than before.
Little by little, in patience and long-suffering you will overcome them, by the help of God rather than by severity and your own rash ways. Often take counsel when tempted; and do not be harsh with others who are tempted, but console them as you yourself would wish to be consoled
In temptations and trials the progress of a man is measured; in them opportunity for merit and virtue is made more manifest.
When a man is not troubled it is not hard for him to be fervent and devout, but if he bears up patiently in time of adversity, there is hope for great progress.
Some, guarded against great temptations, are frequently overcome by small ones in order that, humbled by their weakness in small trials, they may not presume on their own strength in great ones.
Source: Thomas à Kempis. (1996). The Imitation of Christ. Oak Harbor, WA: Logos Research Systems.