Ecclesiastes 7:14; Ecclesiastes 7:24

14 When things are going well for you, be glad, and when trouble comes, just remember: God sends both happiness and trouble; you never know what is going to happen next.
24 How can anyone discover what life means? It is too deep for us, too hard to understand.