Remember your creator in the days of your youth, before the days of trouble come, and the years draw near when you will say, “I have no pleasure in them”; before the sun and the light and the moon and the stars are darkened and the clouds return with the rain; in the day when the guards of the house tremble, and the strong men are bent, and the women who grind cease working because they are few, and those who look through the windows see dimly; when the doors on the street are shut, and the sound of the grinding is low, and one rises up at the sound of a bird, and all the daughters of song are brought low; when one is afraid of heights, and terrors are in the road; the almond tree blossoms, the grasshopper drags itself along and desire fails; because all must go to their eternal home, and the mourners will go about the streets; before the silver cord is snapped, and the golden bowl is broken, and the pitcher is broken at the fountain, and the wheel broken at the cistern, and the dust returns to the earth as it was, and the breath returns to God who gave it. Vanity of vanities, says the Teacher; all is vanity.
Besides being wise, the Teacher also taught the people knowledge, weighing and studying and arranging many proverbs. The Teacher sought to find pleasing words, and he wrote words of truth plainly.
The sayings of the wise are like goads, and like nails firmly fixed are the collected sayings that are given by one shepherd. Of anything beyond these, my child, beware. Of making many books there is no end, and much study is a weariness of the flesh.
The end of the matter; all has been heard. Fear God, and keep his commandments; for that is the whole duty of everyone. For God will bring every deed into judgment, including every secret thing, whether good or evil.
Ecclesiastes 12:1-14 – https://www.biblegateway.com/passage?search=Ecclesiastes%2012:1-14&version=NRSV