Ecclesiastes 8:14-17 - Man Cannot Know God's Ways

14 There is a vanity which is done on the earth: There are just ones to whom it happens according to the work of the wicked; again, there are wicked ones to whom it happens according to the work of the righteous. I said that this also is vanity. 15 Then I praised gladness, because a man has no better thing under the sun than to eat and to drink and to be glad; for that shall go with him of his labor for the days of his life which God gives him under the sun.

16 When I gave my heart to know wisdom, and to see the business that is done on the earth; for neither day nor night do men see sleep with their eyes. 17 Then I looked at all the work of God, that a man cannot find out the work that is done under the sun; because though a man labors to seek it out, yet he shall not find it. Yea, further, though a wise one speaks of knowing, yet he shall not be able to find it.