Moses
Psalm 18:2BSB·traditional attribution

The LORD is my rock, my fortress, and my deliverer. My God is my rock, in whom I take refuge, my shield, and the horn of my salvation, my stronghold.

John Calvin Reformed @genevareformer

PSALM 18. We all know through what difficulties and almost insurmountable obstacles David came to the kingdom. Even to the time of Saul’s death he was a fugitive, and, as it were, an outlaw, and wearily passed his life in fear, amidst many threatenings and dangers of death.

Commenting on Psalm 18:1-50

C.H. Spurgeon Reformed Baptist @princeofpreachers

"The Lord is my rock and my fortress." Dwelling among the crags and mountain fastnesses of Judea David had escaped the malice of Saul, and here he compares his God to such a place of concealment and security. Believers are often hidden in their God from the strife of tongues and the fury of the storm of trouble. The clefts of the Rock of Ages are safe abodes.

Matthew Henry Presbyterian @wholebiblehenry

The title gives us the occasion of penning this psalm; we had it before (Sa2 22:1), only here we are told that the psalm was delivered to the chief musician, or precentor, in the temple-songs. Note, The private compositions of good men, designed by them for their own use, may be serviceable to the public, that others may not only borrow light from their candle, but heat from their fire.

Commenting on Psalm 18:1-19