And God is referred to as the rock A LOT in Psalms
Psalms 18:2 The LORD is my rock, and my fortress, and my deliverer; my God, my strength, in whom I will trust; my buckler, and the horn of my salvation, and my high tower.
Psalms 18:31 For who is God save the LORD? or who is a rock save our God?
Psalms 18:46 The LORD liveth; and blessed be my rock; and let the God of my salvation be exalted.
Psalms 27:5 For in the time of trouble he shall hide me in his pavilion: in the secret of his tabernacle shall he hide me; he shall set me up upon a rock.
Psalms 28:1 Unto thee will I cry, O LORD my rock; be not silent to me: lest, if thou be silent to me, I become like them that go down into the pit.
Psalms 31:2 Bow down thine ear to me; deliver me speedily: be thou my strong rock, for an house of defence to save me.
Psalms 31:3 For thou art my rock and my fortress; therefore for thy name's sake lead me, and guide me.
Psalms 40:2 He brought me up also out of an horrible pit, out of the miry clay, and set my feet upon a rock, and established my goings.
Psalms 42:9 I will say unto God my rock, Why hast thou forgotten me? why go I mourning because of the oppression of the enemy?
Psalms 61:2 From the end of the earth will I cry unto thee, when my heart is overwhelmed: lead me to the rock that is higher than I.
Psalms 62:2 He only is my rock and my salvation; he is my defence; I shall not be greatly moved.
Psalms 62:6 He only is my rock and my salvation: he is my defence; I shall not be moved.
Psalms 62:7 In God is my salvation and my glory: the rock of my strength, and my refuge, is in God.
Psalms 71:3 Be thou my strong habitation, whereunto I may continually resort: thou hast given commandment to save me; for thou art my rock and my fortress.