Ecclesiastes is a book in the Old Testament of the Bible. It is described as "the words of the Philosopher, David's son, who was King in Jerusalem" (verse 1). This is probably Solomon. The book talks about the meaning of life and the best way to live.
People disagree about what the Book of Ecclesiastes means. Some people think the book is very pessimistic, saying "all is vain", "there is nothing new under the sun."(Chapter I), and "I looked again at all the injustice that goes on in this world. The oppressed were weeping but no one would help them. No one would help them, because their oppressors had power on their side. I envy those who are dead and gone; they are better off than those who are still alive. But better off than either are those who have never been born." (Chapter 4) Other people think the book says that even though life is hard and we will all die someday, we should just enjoy God's gifts.
During the American Civil War, President Abraham Lincoln used a quote from Ecclesiastes in a speech to Congress: "One generation passeth away, and another generation cometh: but the earth abideth for ever...." ("One generation of people dies, and another generation is born, but the world will be here forever.")
President Joe Biden has also made a brief reference of Ecclesiastes during his winning speech after the 2020 Presidential Election: "To everything there is a season: a time to build, a time to reap, and a time to sow and a time to heal. This is the time to heal in America.” 
One of the most famous parts of Ecclesiastes is verses 3:1 to 3:8:
"To every thing there is a season, and a time to every purpose under the heaven:
A time to be born, and a time to die; a time to plant, and a time to pluck up that which is planted;
A time to kill, and a time to heal; a time to break down, and a time to build up;
A time to weep, and a time to laugh; a time to mourn, and a time to dance;
A time to cast away stones, and a time to gather stones together; a time to embrace, and a time to refrain from embracing;
A time to get, and a time to lose; a time to keep, and a time to cast away;
A time to rend, and a time to sew; a time to keep silence, and a time to speak;
- Bartholomew, Craig (2009). Ecclesiastes. Baker Academic Press. ISBN 9780801026911.
- Gilbert, Christopher (2009). A Complete Introduction to the Bible: A Literary and Historical Introduction to the Bible. Paulist Press. ISBN 9780809145522.
- Foote, Shelby (1986). The Civil War, A Narrative (Vol. 1). Vintage Books. pp. 807–808. ISBN 9780307744678.
- "Joe Biden quotes Bible, hymn 'On Eagle's Wings' in victory speech". www.christianpost.com. 8 November 2020. Retrieved 2020-11-13.
- Poets, Academy of American. "Ecclesiastes 3:1-8 by Anonymous - Poems | Academy of American Poets". poets.org. Retrieved 2020-11-13.
- Christianson, Eric S. (2007). Ecclesiastes Through the Centuries. Wiley-Blackwell. ISBN 9780631225294.