Metaphorically speaking, God sometimes puts us through a refiner's fire in order to change us into His image. He is with us during the process. This is far more preferable to an erratic uncontrollable fiery situation in which God's Will is not respected and adhered to. "And the words of the Lord are flawless, like silver purified in a crucible, like gold refined seven times". (Psalm 12:6)