David
Psalm 27:5BSB·traditional attribution

For in the day of trouble He will hide me in His shelter; He will conceal me under the cover of His tent; He will set me high upon a rock.

John Calvin Reformed @genevareformer

PSALM 27. In this psalm, David rehearses the desires and meditations with which he had exercised himself in the midst of his great dangers. The thanksgivings which he mingles with them show that it was composed after his deliverance. It is also probable that he repeats at once the prayers which had exercised his thoughts in his different meditations.

Commenting on Psalm 27:1-14

C.H. Spurgeon Reformed Baptist @princeofpreachers

This verse gives an excellent reason for the psalmist's desire after communion with God, namely, that he was thus secured in the hour of peril. For in the time of trouble, that needy time, that time when others forsake me, he shall hide me in his pavilion: he shall give me the best of shelter in the worst of danger.

Matthew Henry Presbyterian @wholebiblehenry

We may observe here, I. With what a lively faith David triumphs in God, glories in his holy name, and in the interest he had in him. 1. The Lord is my light. David's subjects called him the light of Israel, Sa2 21:17.

Commenting on Psalm 27:1-6