Why should man find God in the time of a crisis, out of the darkness in his life?
Because there is a kind of finding that acts in the dark and not in the light.
There are situations when there is an abundance of positive things and one would think that it would be easier to see the Divine.
But it seems that God is further away at such times than in periods of stress and strain, when darkness dispels all goodness and joy.
Although to be sure, there aren't two separate states—one in which God is manifest and another, of opposite character, in which He is absent.
It is rather that since He "creates light and forms the darkness" equally, and the miracle of darkness is like unto the miracle of light, and just as we don't understand the wonder of light, of that which is, we do not comprehend the wonder of that which is not, of the nothing.
We cannot understand the mystery of the withdrawal of the Divine that is the essence of Power.
–Rabbi Adin Steinsaltz
From The Sustaining Utterance by Rabbi Adin Steinsaltz