Ecclesiastes 8 & 9

Because the sentence against evildoers is not promptly executed, therefore the hearts of men are filled with the desire to commit evil, because the sinner does evil a hundred times and survives. Though indeed I know that it shall be well with those who fear God, for their reverence toward him; and that it shall not be well with the wicked man, and he shall not prolong his shadowy days, for his lack of reverence toward God.

This is a vanity which occurs on earth: there are just men treated as though they had done evil and wicked men treated as though they had done justly. This, too, I say is vanity.Therefore I commend mirth, because there is nothing good for man under the sun except eating and drinking and mirth: for this is the accompaniment of his toil during the limited days of the life which God gives him under the sun.

When I applied my heart to know wisdom and to observe what is done on earth, I recognized that man is unable to find out all God's work that is done under the sun, even though neither by day nor by night do his eyes find rest in sleep. However much man toils in searching, he does not find it out; and even if the wise man says that he knows, he is unable to find it out.

Ecclesiastes 8:11-17

All this I have kept in mind and recognized: the just, the wise, and their deeds are in the hand of God. Love from hatred man cannot tell; both appear equally vain, in that there is the same lot for all, for the just and the wicked, for the good and the bad, for the clean and the unclean, for him who offers sacrifice and him who does not. As it is for the good man, so it is for the sinner; as it is for him who swears rashly, so it is for him who fears an oath.

Among all the things that happen under the sun, this is the worst, that things turn out the same for all. Hence the minds of men are filled with evil, and madness is in their hearts during life; and afterward they go to the dead.

Indeed, for any among the living there is hope; a live dog is better off than a dead lion. For the living know that they are to die, but the dead no longer know anything. There is no further recompense for them, because all memory of them is lost.

For them, love and hatred and rivalry have long since perished. They will never again have part in anything that is done under the sun. Go, eat your bread with joy and drink your wine with a merry heart, because it is now that God favors your works. At all times let your garments be white, and spare not the perfume for your head.

Enjoy life with the wife whom you love, all the days of the fleeting life that is granted you under the sun. This is your lot in life, for the toil of your labors under the sun. Anything you can turn your hand to, do with what power you have; for there will be no work, nor reason, nor knowledge, nor wisdom in the nether world where you are going...

Again I saw under the sun that the race is not won by the swift, nor the battle by the valiant, nor a livelihood by the wise, nor riches by the shrewd, nor favor by the experts; for a time of calamity comes to all alike. Man no more knows his own time than fish taken in the fatal net, or birds trapped in the snare; like these the children of men are caught when the evil time falls suddenly upon them.

"The quiet words of the wise are better heeded than the shout of a ruler of fools". "A fly that dies can spoil the perfumer's ointment, and a single slip can ruin much that is good."

Ecclesiastes 9:1-12, 17-18