1 Peter 1:6-7 (New International Version)

6 In all this you greatly rejoice, though now for a little while you may have had to suffer grief in all kinds of trials. 7 These have come so that the proven genuineness of your faith—of greater worth than gold, which perishes even though refined by fire—may result in praise, glory and honor when Jesus Christ is revealed.


From BibleGateway.com: http://www.biblegateway.com/passage/?search=1 peter 1:6-7&version=NIV