14 And this is not all that is meaningless in our world. In this life, good people are often treated as though they were wicked, and wicked people are often treated as though they were good. This is so meaningless! 15 So I recommend having fun, because there is nothing better for people in this world than to eat, drink, and enjoy life. That way they will experience some happiness along with all the hard work God gives them under the sun. 16 In my search for wisdom and in my observation of people's burdens here on earth, I discovered that there is ceaseless activity, day and night. 17 I realized that no one can discover everything God is doing under the sun. Not even the wisest people discover everything, no matter what they claim.

Matthew Henry's Commentary on Ecclesiastes 8:14-17

Commentary on Ecclesiastes 8:14-17

(Read Ecclesiastes 8:14-17)

Faith alone can establish the heart in this mixed scene, where the righteous often suffer, and the wicked prosper. Solomon commended joy, and holy security of mind, arising from confidence in God, because a man has no better thing under the sun, though a good man has much better things above the sun, than soberly and thankfully to use the things of this life according to his rank. He would not have us try to give a reason for what God does. But, leaving the Lord to clear up all difficulties in his own time, we may cheerfully enjoy the comforts, and bear up under the trials of life; while peace of conscience and joy in the Holy Ghost will abide in us through all outward changes, and when flesh and heart shall fail.