Ecclesiastes 8:1-17 NASB1995
Who is like the wise man and who knows the interpretation of a matter? A man’s wisdom illumines him and causes his stern face to beam.
I say, “Keep the command of the king because of the oath before God. Do not be in a hurry to leave him. Do not join in an evil matter, for he will do whatever he pleases.” Since the word of the king is authoritative, who will say to him, “What are you doing?”
He who keeps a royal command experiences no trouble, for a wise heart knows the proper time and procedure. For there is a proper time and procedure for every delight, though a man’s trouble is heavy upon him. If no one knows what will happen, who can tell him when it will happen? No man has authority to restrain the wind with the wind, or authority over the day of death; and there is no discharge in the time of war, and evil will not deliver those who practice it. All this I have seen and applied my mind to every deed that has been done under the sun wherein a man has exercised authority over another man to his hurt.
So then, I have seen the wicked buried, those who used to go in and out from the holy place, and they are soon forgotten in the city where they did thus. This too is futility. Because the sentence against an evil deed is not executed quickly, therefore the hearts of the sons of men among them are given fully to do evil. Although a sinner does evil a hundred times and may lengthen his life, still I know that it will be well for those who fear God, who fear Him openly. But it will not be well for the evil man and he will not lengthen his days like a shadow, because he does not fear God.
There is futility which is done on the earth, that is, there are righteous men to whom it happens according to the deeds of the wicked. On the other hand, there are evil men to whom it happens according to the deeds of the righteous. I say that this too is futility. So I commended pleasure, for there is nothing good for a man under the sun except to eat and to drink and to be merry, and this will stand by him in his toils throughout the days of his life which God has given him under the sun.
When I gave my heart to know wisdom and to see the task which has been done on the earth (even though one should never sleep day or night), and I saw every work of God, I concluded that man cannot discover the work which has been done under the sun. Even though man should seek laboriously, he will not discover; and though the wise man should say, “I know,” he cannot discover.
NASB1995: New American Standard Bible - NASB 1995