When Israel was in Egypt the crowns of the Pharaohs had a serpent prominently displayed. So, as the representative of the seed of the serpent he battled with Israel, the seed of the woman. Via the individual seed of the woman (Moses) God crushes the head of the Egyptian serpent and drowns the seed of the Serpent in the Red Sea, just as the seed of the serpent intended to drown the seed of the women in the Nile when he gave instructions to the Hebrew Midwives. This drowning of the seed of the serpent is a recapitulation of God previously drowning the seed of the serpent in the flood.
Once delivered from Egypt Israel complained against God about many things including the lack of water, and so God provides water for them at Massah and Meribah (Ex. 17:1-7). God tells Moses,
“Behold, I will stand before you there on the rock at Horeb, and you shall strike the rock,and water shall come out of it, and the people will drink.” (vs. 6).
The Psalmist, later singing this event (Ps. 78:15-20), may be inspired to understand that the struck Rock was God Himself.
“They remembered that God was their Rock (78:35).
Paul may well see the Lord Christ as a Christophanic Rock that was struck so that all might drink,
“And did all drink the same spiritual drink for they drank of the spiritual Rock that followed them: and the Rock was Christ.”
It is not a stretch to find a picture here of God standing before the rock, Moses striking the Rock, and God / Christ being identified with the Rock out of whom / which flowed streams of living water so that God’s people might drink and live. God is struck, at His own instruction, by the rod so that His people might live.
Such a understanding provides light for later passages in the Gospels where the Lord Christ calls people to Himself in order that He might provide waters of living water wherein they will be satisfied (John 4:10-14, 7:37-39).
Finally, when being struck the Lord Christ’s side flows with blood unto His enemies and water unto His people. The water and blood throughout the Scripture being both judgment and life to both the righteous and the wicked.
Genesis should be read as a record of the ongoing battle of the two seeds.
In the covenantal structure that Genesis gives its readers, people are either the seed of the serpent, on the side of the Covenant head snake in the garden, or seed of the woman, on the side of the Covenant keeping God and trusting in His promises.
In this structure one finds the Snake’s people opposing God’s people,
Cain vs. Abel
Ishmael vs. Isaac
Esau vs. Jacob
Son’s of Israel vs. Joseph
In this structure one finds also a battle being done between collective entities. The covenant people of the Serpent vs. the covenant people of God.
Pharaoh and Egypt vs. Abraham and Sarah
Kings of the World (Sodom) vs. Abraham & his household, Lot, Melchizedek
Abimelech & Philistines vs. Abraham & his people
Abimelech & Philistines vs. Isaac & his people
The men of Schechem vs. Simeon, Levi, & Israel (Dinah)
Sons of Israel vs. Joseph