But He knows the way that I take; when He has tried me, I shall come out as gold – Job 23:10 (ESV)
…so that the proof of your faith, being more precious than gold which is perishable, even though tested by fire, may be found to result in praise and glory and honour at the revelation of Jesus Christ - 1 Peter 1:7 (NASB)