Ecclesiastes 2:3

2:3 I thought deeply about the effects of indulging myself with wine

(all the while my mind was guiding me with wisdom)

and the effects of behaving foolishly,

so that I might discover what is profitable

for people to do on earth during the few days of their lives.

Ecclesiastes 2:21

2:21 For a man may do his work with wisdom, knowledge, and skill;

however, he must hand over the fruit of his labor as an inheritance

to someone else who did not work for it.

This also is futile, and an awful injustice!

Ecclesiastes 2:26

2:26 For to the one who pleases him, God gives wisdom, knowledge, and joy,

but to the sinner, he gives the task of amassing wealth –

only to give it to the one who pleases God.

This task of the wicked is futile – like chasing the wind!