Ecclesiastes 2:26 NLT

26 God gives wisdom, knowledge, and joy to those who please him. But if a sinner becomes wealthy, God takes the wealth away and gives it to those who please him. Even this, however, is meaningless, like chasing the wind.