Viktor E. Frankl said this quote

We had to learn ourselves and, furthermore, we had to teach the despairing men, that it did not really matter what we expected from life, but rather what life expected from us. We need to stop asking about the meaning of life, and instead to think of ourselves as those who were being questioned by life—hourly and daily. Our answer must consist not in talk and meditation, but in right action and in right conduct. Life ultimately means taking the responsibility to find the right answers to its problems and to fulfill the task which it constantly sets for each individual.