The Preacher considers that the righteous, the wise and their deeds are in God's hand, and that no one knows whether love or hate awaits him. All things come alike to all: to the righteous and the wicked, the good and the evil, the one who sacrifices and the one who does not, the one who swears and the one who is afraid to swear. This is an evil in all that is done under the sun: one event happens to all, and the hearts of people are full of evil and madness while they live; after that they go to the dead.
For the living there is hope, for a living dog is better than a dead lion. The living know that they will die, but the dead know nothing and have no more reward, and their memory is forgotten. Their love, their hate and their envy have already perished, and they have no more share in anything done under the sun.
Therefore the Preacher advises: go, eat your bread with joy and drink your wine with a merry heart, for God has already approved what you do. Let your garments be always white and let not oil be lacking on your head. Enjoy life with the wife whom you love all the days of your vain life. Whatever your hand finds to do, do it with your might, for there is no work or thought or knowledge or wisdom in Sheol, to which you are going.
He also saw that the race is not to the swift nor the battle to the strong, nor bread to the wise, but time and chance happen to them all, and no one knows his time, like fish caught in a net. He tells of a little city besieged by a great king, which was delivered by a poor wise man whom no one remembered. He concludes that wisdom is better than might, though the poor man's wisdom is despised, and better than weapons of war, but one sinner destroys much good.