Book of Ecclesiastes

Ecclesiastes 2:17

King James Version
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.