Ecclesiastes 7:14 TMB

14 In the day of prosperity be joyful, but in the day of adversity consider this: God also hath set the one over against the other, to the end that man should find nothing after him.