Solomon closes the book: fear God and keep His commandments, for every person will be judged.
So I say again what I have said before: human beings are in a state of utter emptiness, and the emptiness of the things they devise could not be greater (Ecclesiastes 12:8). My labor is wasted as I preach wisely to the assembly, since I am trying to teach this people, who are unteachable and past cure (Ecclesiastes 12:9). It takes a man of noble spirit to be able to understand words of wisdom. Now that I am old and have passed through a long span of life, I have labored to find out what is pleasing to God through the mysteries of the truth (Ecclesiastes 12:10). I know that the precepts of the wise rouse souls and prick them no less than bodies are stirred when pierced by an ox goad or a nail (Ecclesiastes 12:11). Some will hand on those wise teachings, having received them from one good Shepherd and Teacher (Ecclesiastes 12:11); all of them, as if from one mouth, will set out more fully, in agreement with one another, what has been entrusted to them.
There is no profit in many words (Ecclesiastes 12:12). Nor do I advise you, my friend, to write down useless things about what is fitting, in which there is nothing more than labor spent in vain (Ecclesiastes 12:12). It remains for me to add a conclusion such as this: O people, here I declare to you plainly and briefly: fear God, the Master and Overseer of all things, and keep His commandments (Ecclesiastes 12:13). And be persuaded that every person will afterward be judged, and that each will receive, as he deserves, the recompense of his own works, good and bad alike (Ecclesiastes 12:14).