1 Peter 1:7

that the genuineness of your faith--a thing far more precious than gold, which is perishable, yet has to be tested by fire--may win praise and glory and honour at the Appearing of Jesus Christ.

1 Peter 4:12

Dear friends, do not be astonished at the fiery trials that you are passing through, to test you, as though something strange were happening to you.

Treasury of Scripture Knowledge

Summary

As the fining pot for silver, and the furnace for gold; so is a man to his praise.

Bible References

The fining

1 Peter 1:7
that the genuineness of your faith--a thing far more precious than gold, which is perishable, yet has to be tested by fire--may win praise and glory and honour at the Appearing of Jesus Christ.
1 Peter 4:12
Dear friends, do not be astonished at the fiery trials that you are passing through, to test you, as though something strange were happening to you.