Numbers 21:1-9 NIV
When the Canaanite king of Arad, who lived in the Negev, heard that Israel was coming along the road to Atharim, he attacked the Israelites and captured some of them. Then Israel made this vow to the LORD: “If you will deliver these people into our hands, we will totally destroy their cities.” The LORD listened to Israel’s plea and gave the Canaanites over to them. They completely destroyed them and their towns; so the place was named Hormah.
They traveled from Mount Hor along the route to the Red Sea, to go around Edom. But the people grew impatient on the way; they spoke against God and against Moses, and said, “Why have you brought us up out of Egypt to die in the wilderness? There is no bread! There is no water! And we detest this miserable food!”
Then the LORD sent venomous snakes among them; they bit the people and many Israelites died. The people came to Moses and said, “We sinned when we spoke against the LORD and against you. Pray that the LORD will take the snakes away from us.” So Moses prayed for the people.
The LORD said to Moses, “Make a snake and put it up on a pole; anyone who is bitten can look at it and live.” So Moses made a bronze snake and put it up on a pole. Then when anyone was bitten by a snake and looked at the bronze snake, they lived.
NIV: New International Version