Proverbs 17:3

17:3 The crucible is for refining silver and the furnace is for gold,

likewise the Lord tests hearts.

Proverbs 21:2

21:2 All of a person’s ways seem right in his own opinion,

but the Lord evaluates the motives.