Ecclesiastes 4:16

4:16 There is no end to all the people nor to the past generations,

yet future generations will not rejoice in him.

This also is profitless and like chasing the wind.

Ecclesiastes 7:14

7:14 In times of prosperity be joyful,

but in times of adversity consider this:

God has made one as well as the other,

so that no one can discover what the future holds.