Pressure Creates Diamond and Fire Refines Gold
Peter uses the symbolism of fire as a way to refine or purify our faith as he writes in 1 Peter 1:6-7 “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.”
The language of the Bible is rich with metaphor. The biblical writers used familiar, everyday objects to symbolize spiritual truth.
Naturally, faith is not something that can pass through the fire but the symbolism with which Peter writes means that our trials refine our faith and burn everything away that is not genuine faith. So that all which remains is our faith that will result in the praise and glory and honor when Jesus Christ returns.