Ecclesiastes 2:15-17 Amplified Bible (AMP)
15 Then I said to myself, “As it happens to the fool, so death will also happen to me. What use is it then for me to be extremely wise?” Then I said in my heart, “This too is vanity (meaningless).” 16 For there is no [more] lasting remembrance of the wise man than of the fool, since in the days to come all will be long forgotten. And how does the wise man die? Even as the fool! 17 So I hated life, for the work which had been done under the sun caused me only great sorrow; because all is futility and chasing after the wind.