וְשָׂנֵ֙אתִי֙ אֶת־הַ֣חַיִּ֔ים כִּ֣י רַ֤ע עָלַי֙ הַֽמַּעֲשֶׂ֔ה שֶׁנַּעֲשָׂ֖ה תַּ֣חַת הַשָּׁ֑מֶשׁ כִּֽי־הַכֹּ֥ל הֶ֖בֶל וּרְע֥וּת רֽוּחַ׃
So I hated life; because the work that is wrought under the sun was grievous unto me; for all is vanity and a striving after wind.
Read halakhic rulings (Jewish law) on Ecclesiastes 2:17: and classical halakhic sources.