Ecclesiastes 2:17

2:17 So I hated life, because the work that is worked under the sun was grievous to me; for all is vanity and a chasing after wind.
-World English Bible

Other Translation

2:17 Therefore I hated life; because the work that is wrought under the sun [is] grievous unto me: for all [is] vanity and vexation of spirit.
-King James Version