Throughout the Old Testament God is likened to a “Rock” and within the New Testament the Rock that Moses struck is identified as Christ.
For who is God, save the LORD? and who is a rock, save our God? (2 Samuel 22:32)
And did all drink the same spiritual drink: for they drank of that spiritual Rock that followed them: and that Rock was Christ. (1 Corinthians 10:4)
Was such a metaphor for God as a “rock” unique to Israel, or was that a widespread view of Divinity?