Deuteronomy - Chapter 32
At the end of this chapter God reminds Moses that he will not enter the promised land, because he broke faith with God at the waters of Meribah Kadesh. This is the incident described in Numbers 20, where the people were grumbling because they were thirsty. God had told Moses to speak to the rock and water would gush out of it. But Moses struck the rock with his staff.
In 1 Corinthians 10 Paul gives us the link to Jesus when he says:
"For I do not want you to be ignorant of the fact, brothers and sisters, that our ancestors were all under the cloud and that they all passed through the sea. They were all baptized into Moses in the cloud and in the sea. They all ate the same spiritual food and drank the same spiritual drink; for they drank from the spiritual rock that accompanied them, and that rock was Christ."