Ecclesiastes 2:15-17 Revised Standard Version (RSV)
15 Then I said to myself, “What befalls the fool will befall me also; why then have I been so very wise?” And I said to myself that this also is vanity. 16 For of the wise man as of the fool there is no enduring remembrance, seeing that in the days to come all will have been long forgotten. How the wise man dies just like the fool! 17 So I hated life, because what is done under the sun was grievous to me; for all is vanity and a striving after wind.