The Creator is to be remembered in due time.
Ecclesiastes 12:1 And remember thy Creator in the days of thy youth, before the evil days come, and the years draw nigh, of which thou shalt say, I have no pleasure in them; Ecclesiastes 12:2 before the sun, and the light, and the moon, and the stars, be darkened, and the clouds return after the rain; Ecclesiastes 12:3 in the day when the keepers of the house tremble, and the strong men bow themselves, and the grinders cease because they are few, and those that look out of the windows are darkened, Ecclesiastes 12:4 and the doors are shut toward the street; when the sound of the grinding is subdued, and they rise up at the voice of the bird, and all the daughters of song are brought low; Ecclesiastes 12:5 they are also afraid of what is high, and terrors are in the way, and the almond is despised, and the grasshopper is a burden, and the caper-berry is without effect; (for man goeth to his age-long home, and the mourners go about the streets;) Ecclesiastes 12:6 before the silver cord be loosed, or the golden bowl be broken, or the pitcher be shattered at the fountain, or the wheel be broken at the cistern; Ecclesiastes 12:7 and the dust return to the earth as it was, and the spirit return unto God who gave it.
The preacher's care to edify.
Ecclesiastes 12:8 Vanity of vanities, saith the Preacher: all is vanity. Ecclesiastes 12:9 And moreover, because the Preacher was wise, he still taught the people knowledge; and he pondered, and sought out, [and] set in order many proverbs. Ecclesiastes 12:10 The Preacher sought to find out acceptable words; and that which was written is upright, words of truth. Ecclesiastes 12:11 The words of the wise are as goads, and the collections [of them] as nails fastened in: they are given from one shepherd. Ecclesiastes 12:12 And besides, my son, be warned by them: of making many books there is no end, and much study is a weariness of the flesh.
The fear of God is the chief antidote of vanity.
Ecclesiastes 12:13 Let us hear the end of the whole matter: Fear God, and keep his commandments; for this is the whole of man. Ecclesiastes 12:14 For God shall bring every work into judgment, with every secret thing, whether it be good or whether it be evil.