Ecclesiastes 2:17

And, because of this, my life wearied me, since I saw that everything under the sun is evil, and everything is empty and an affliction of the spirit

Other versions

King James Version

Therefore I hated life; because the work that is wrought under the sun is grievous unto me: for all is

English Standard Version

So I hated life, because what is done under the sun was grievous to me, for all is vanity and a striving after wind.

New International Version

So I hated life, because the work that is done under the sun was grievous to me. All of it is meaningless, a chasing after the wind.