3 “In the day of tribulation I have sought out God”. Who are you that doest this thing? In the day of your tribulation take heed what you seek out. If a jail be the cause of tribulation, you seek to get forth from jail: if fever be the cause of tribulation, you seek health: if hunger be the cause of tribulation, you seek fullness: if losses be the cause of tribulation, you seek gain: if expatriation be the cause of tribulation, you seek the home of your flesh. And why should I name all things, or when could I name all things? Do you wish to be one leaping over? In the day of your tribulation seek out God: not through God some other thing, but out of tribulation God, that to this end God may take away tribulation, that you may without anxiety cleave unto God. “In the day of my tribulation, I have sought out God:” not any other thing, but “God I have sought out.” And how have you sought out? “With my hands in the night before Him.”...
Source: The Enarrations, or Expositions, on the Psalms (New Advent)