Isaiah 48:10

Behold, I have refined thee, but not as silver; I have chosen thee in the furnace of affliction.