Ecclesiastes 7:14 CJB

14 When things are going well, enjoy yourself; but when things are going badly, consider that God made the one alongside the other, so that people would learn nothing of their futures.