Numbers 21:6-7
21:6 So the Lord sent poisonous snakes among the people, and they bit the people; many people of Israel died.
21:7 Then the people came to Moses and said, “We have sinned, for we have spoken against the Lord and against you. Pray to the Lord that he would take away the snakes from us.” So Moses prayed for the people.