Then I applied myself to the understanding of wisdom, and also of madness and folly, but I learned that this, too, is a chasing after the wind. For with much wisdom comes much sorrow; the more knowledge, the more grief.
I said to myself, "Come now, I will test you with pleasure to find out what is good." But that also proved to be meaningless. "Laughter," I said, "is madness. And what does pleasure accomplish?" I tried cheering myself with wine, and embracing folly—my mind still guiding me with wisdom.
So I hated life, because the work that is done under the sun was grievous to me. All of it is meaningless, a chasing after the wind. I hated all the things I had toiled for under the sun, because I must leave them to the one who comes after me. And who knows whether that person will be wise or foolish? Yet they will have control over all the toil into which I have poured my effort and skill under the sun. This too is meaningless. So my heart began to despair over all my toilsome labor under the sun. For people may labor with wisdom, knowledge and skill, and then they must leave all they own to others who have not toiled for it. This too is meaningless and a great misfortune. What do people get for all the toil and anxious striving with which they labor under the sun? All their days their work is grief and pain; even at night their minds do not rest. This too is meaningless.
Those who love money never have enough; those who love wealth are never satisfied with their income. This too is meaningless.
Guard your steps when you go to the house of God. Go near to listen rather than to offer the sacrifice of fools, who do not know that they do wrong.
Frustration is better than laughter, because a sad face is good for the heart. The heart of the wise is in the house of mourning, but the heart of fools is in the house of pleasure. It is better to heed the rebuke of a wise person than to listen to the song of fools.
I find more bitter than death the woman who is a snare, whose heart is a trap and whose hands are chains. The man who pleases God will escape her, but the sinner she will ensnare.
Remember your Creator in the days of your youth, before the days of trouble come and the years approach when you will say, "I find no pleasure in them"