num 21:6-9
In punishment the LORD sent among the people saraph serpents, which bit the people so that many of them died. Then the people came to Moses and said, "We have sinned in complaining against the LORD and you. Pray the LORD to take the serpents from us." So Moses prayed for the people, and the LORD said to Moses, "Make a saraph and mount it on a pole, and if anyone who has been bitten looks at it, he will recover." Moses accordingly made a bronze serpent and mounted it on a pole, and whenever anyone who had been bitten by a serpent looked at the bronze serpent, he recovered.