A few related verses:
Count it all joy, my brothers, when you meet trials of various kinds, for you know that the testing of your faith produces steadfastness. And let steadfastness have its full effect, that you may be perfect and complete, lacking in nothing. James 1:2-4
We must go through many hardships to enter the kingdom of God… Acts 14:22
Blessed be the God and Father of our Lord Jesus Christ! According to his great mercy,he has caused us to be born again to a living hope through the resurrection of Jesus Christ from the dead, to an inheritance that is imperishable, undefiled, and unfading, kept in heaven for you, who by God’s power are being guarded through faith for a salvation ready to be revealed in the last time. In this you rejoice, though now for a little while, if necessary, you have been grieved by various trials, so that the tested genuineness of your faith—more precious than gold that perishes though it is tested by fire—may be found to result in praise and glory and honor at the revelation of Jesus Christ. 1 Peter 1:3-7
Sermon by Timothy Keller: “Your Plans: God’s Plans”