Hebrew Bible

Exodus 17:7

5 The Lord said to Moses, “Go over before the people; take with you some of the elders of Israel and take in your hand your staff with which you struck the Nile and go. 6 I will be standing before you there on the rock in Horeb, and you will strike the rock, and water will come out of it so that the people may drink.” And Moses did so in plain view of the elders of Israel. 7 He called the name of the place Massah and Meribah, because of the contending of the Israelites and because of their testing the Lord, saying, “Is the Lord among us or not?” 8 Amalek came and attacked Israel in Rephidim. 9 So Moses said to Joshua, “Choose some of our men and go out, fight against Amalek. Tomorrow I will stand on top of the hill with the staff of God in my hand.”

Date: 5th Century B.C.E. (Final composition)
* Dates are based on scholarly estimates
Hebrew Bible

Psalms 95:8

6 Come, let us bow down and worship. Let us kneel before the Lord, our Creator. 7 For he is our God; we are the people of his pasture, the sheep he owns. Today, if only you would obey him. 8 He says, “Do not be stubborn like they were at Meribah, like they were that day at Massah in the wilderness, 9 where your ancestors challenged my authority and tried my patience, even though they had seen my work. 10 For 40 years I was continually disgusted with that generation, and I said, ‘These people desire to go astray; they do not obey my commands.’

Date: 6th-3rd Centuries B.C.E.
* Dates are based on scholarly estimates