Ecclesiastes 7:14 RSVA

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