Ecclesiastes 8:6

6 for there is a time and a way for everything, even when a person is in trouble.