Ecclesiastes 7:14 CSB

14 In the day of prosperity be joyful, but in the day of adversity, consider: without question, God has made the one as well as the other, so that man cannot discover anything that will come after him.