Ecclesiastes in Wikipedia

Ecclesiastes (often abbreviated Ecc) (Hebrew: קֹהֶלֶת‎, Kohelet, variously transliterated as Kohelet, Qoheleth, Koheles, Koheleth, or Coheleth) is a book of the Hebrew Bible. The English name derives from the Greek translation of the Hebrew title. The main speaker in the book, identified by the name or title Qohelet, introduces himself as "son of David, and king in Jerusalem." The work consists of personal or autobiographic matter, at times expressed in aphorisms and maxims illuminated in terse paragraphs with reflections on the meaning of life and the best way of life. The work emphatically proclaims all the actions of man to be inherently "vain", "futile", "empty", "meaningless", "temporary", "transitory", or "fleeting," depending on translation, as the lives of both wise and foolish men end in death. While Qohelet clearly endorses wisdom as a means for a well-lived earthly life, he is unable to ascribe eternal meaning to it. In light of this perceived senselessness, he suggests that one should enjoy the simple pleasures of daily life, such as eating, drinking, and taking enjoyment in one's work, which are gifts from the hand of God...

Link: https://en.wikipedia.org/wiki/Ecclesiastes