Ecclesiastes 8:9-17

9 All this I have seen so as to give my heart to every work that hath been done under the sun; a time that man hath ruled over man to his own evil.
10 And so I have seen the wicked buried, and they went in, even from the Holy Place they go, and they are forgotten in the city whether they had so done. This also [is] vanity.
11 Because sentence hath not been done [on] an evil work speedily, therefore the heart of the sons of man is full within them to do evil.
12 Though a sinner is doing evil a hundred [times], and prolonging [himself] for it, surely also I know that there is good to those fearing God, who fear before Him.
13 And good is not to the wicked, and he doth not prolong days as a shadow, because he is not fearing before God.
14 There is a vanity that hath been done upon the earth, that there are righteous ones unto whom it is coming according to the work of the wicked, and there are wicked ones unto whom it is coming according to the work of the righteous. I have said that this also [is] vanity.
15 And I have praised mirth because there is no good to man under the sun except to eat and to drink, and to rejoice, and it remaineth with him of his labour the days of his life that God hath given to him under the sun.
16 When I gave my heart to know wisdom and to see the business that hath been done on the earth, (for there is also a spectator in whose eyes sleep is not by day and by night),
17 then I considered all the work of God, that man is not able to find out the work that hath been done under the sun, because though man labour to seek, yet he doth not find; and even though the wise man speak of knowing he is not able to find.

Ecclesiastes 8:9-17 Meaning and Commentary

INTRODUCTION TO ECCLESIASTES 8

The preacher begins this chapter with the praise of wisdom, from its excellency and usefulness, Ec 8:1; and advises men, if they would live quietly and comfortably, to honour and obey the king that rules over them, and not be rebellious against him, since he has great power and authority, Ec 8:2-5; and not be anxious about things to come, since there is a set time for everything, and future things cannot be known nor frustrated; and, particularly, there is no avoiding the hour and stroke of death, Ec 8:6-8; Though there are times wherein wicked men rule over others, it is to their own hurt, and they must die; and though they may be pompously buried, yet are soon forgotten, Ec 8:9,10; and the reason of their insolence is the delay of justice; yet there will come a time when it shall be well with them that fear God, and ill with the wicked, though they may live long in wickedness; and for the present it may befall good then what wicked men deserve, and wicked men may have that which might, be thought more proper for good men, Ec 8:11-14; wherefore this should give no uneasiness; but men should cheerfully and freely enjoy what they have with thankfulness, there being nothing better than that under the sun, Ec 8:15; and the chapter is concluded with observing the unsearchableness of divine Providence, Ec 5:16,17.

Young's Literal Translation is in the public domain.