"For he has hidden me." Here the reason for the desire of dwelling in the house of God is assigned; as if to say, why do you so greatly ask to dwell in the house of God? The reason is from benefits received. And concerning this he does two things. Because first he presents the benefits themselves. Second, he adds recompense, at "I went around." Concerning the first he does two things. First, he presents the benefit of protection from evil. Second, the benefit of promotion to good, at "On a rock you have exalted me." Concerning the first he does two things. First, he proposes the benefit. Secon...d, he shows its necessity, at "In the day of evils." He says therefore: why do you ask to dwell in the house of the Lord? The reason, namely, is that "he has hidden me in his tabernacle." And according to the letter, 1 Sam. 24, when David fled to the safer places of En-gedi and hid himself there. Hence he speaks in the person of one fleeing and hiding in some place. According to the letter, the tabernacle was the place where those who prayed were protected by divine help, and especially in the Holy of Holies, where the propitiatory was, and thus they called the tabernacle the very defense of God: as in Ps. 90 it is said: "He will overshadow you with his shoulders, and under his wings you shall hope," etc. Deut. 32: "He spread his wings and took them up and carried them on his shoulders." But mystically the tabernacle can be called the assumed humanity, or the flesh of Christ, in which he has hidden us through faith and hope: Col. 3: "Your life is hidden in God." Or otherwise, the tabernacle is called the whole ordering of the Church; and in both of these the just person is hidden, because in this tabernacle certain things lie hidden beneath what is manifest: the hidden things are the invisible and spiritual, where the good abide. But the wicked abide in external things: Is. 4: "The tabernacle shall be for a shade in the daytime from the heat." But what did this hiding confer? Indeed, it was necessary for me "in the day of evils," or of all those evils that then threatened. And it is similar to this: because when enemies or tribulation threatens, only those who are found within the city will be saved; so in tribulation those perish who have their affections set upon external things, because when tribulation comes regarding those things, such people are disturbed. Therefore God himself, or Christ, or the mind of the just hides: Mt. 6: "Your Father who sees in secret will repay you."
"On a rock." Here he proposes another benefit of promotion to good, and it is twofold. One of exaltation with regard to himself. The second with regard to enemies, at "Now he has exalted my head." He says therefore, "On a rock you have exalted me." According to the letter he alludes to the things that happened around him; because when he suffered persecution, he went through impassable rocks, 1 Sam. 24; but when he escaped, "then he exalted my heart above my enemies." But mystically it is explained: "On a rock he has exalted me," that is, in Christ; 1 Cor. 10: "And the rock was Christ." Or, "o...n a rock," that is, in God: 2 Sam. 22: "The Lord is my rock": Ps. 60: "When my heart was in anguish, on a rock you exalted me." "And now he has exalted": as if to say, I did this in hope, but now in reality. "You have exalted my head," that is, my mind, "above my enemies," that is, above all my appetites: Gen. 4: "Its desire shall be under you."
“For He hath hidden me in His tabernacle in the day of my evils” (ver. 5). For He hath hidden me in the dispensation of His Incarnate Word in the time of temptations, to which my mortal life is exposed. “He hath protected me in the secret place of His tabernacle.” He hath protected me, with the heart believing unto righteousness.
“On a rock hath He exalted me.” And that what I believed might be made manifest for salvation, He hath made my confession to be conspicuous in His own strength.