Deuteronomy 9:22-29

22 You also made the LORD angry at Taberah, Massah, and Kibroth Hattaavah.
23 When the LORD sent you from Kadesh Barnea, he said, "Go and take possession of the land I'm giving you." But you rebelled against the word of the LORD your God. You didn't believe him or obey him.
24 You've rebelled against the LORD as long as I've known you.
25 I threw myself down in front of the LORD for 40 days and 40 nights because the LORD said he would destroy you.
26 I prayed to the LORD and said, "Almighty LORD, don't destroy your people. They belong to you. You saved them by your great power and used your mighty hand to bring them out of Egypt.
27 Remember your servants Abraham, Isaac, and Jacob. Disregard the stubbornness, wickedness, and sin of these people.
28 Otherwise, the country we left will say, "The LORD wasn't able to bring them to the land he promised them. He hated them. That's why he brought them out--to let them die in the desert."
29 They are your people. They belong to you. You used your great strength and powerful arm to bring them out [of Egypt].