Ecclesiastes 7:14 ASV

14 In the day of prosperity be joyful, and in the day of adversity consider; yea, God hath made the one side by side with the other, to the end that man should not find out anything [that shall be] after him.