Proverbs 27:21

ESV
“The crucible is for silver, and the furnace is for gold, and a man is tested by his praise.”