Sirach (Ecclesiasticus) 2:5

For gold is tried in the fire, and acceptable men in the furnace of adversity.

Brenton's English Septuagint