Ecclesiastes 7:14 ESV

14 1In the day of prosperity be joyful, and in the day of adversity consider: God has made the one as well as the other, 2so that man may not find out anything that will be after him.

References for Ecclesiastes 7:14