Numbers 21:5-9 KJV
And the people spake against God, and against Moses, Wherefore have ye brought us up out of Egypt to die in the wilderness? for there is no bread, neither is there any water; and our soul loatheth this light bread.
And the Lord sent fiery serpents among the people, and they bit the people; and much people of Israel died.
Therefore the people came to Moses, and said, We have sinned, for we have spoken against the Lord , and against thee; pray unto the Lord , that he take away the serpents from us. And Moses prayed for the people.
And the Lord said unto Moses, Make thee a fiery serpent, and set it upon a pole: and it shall come to pass, that every one that is bitten, when he looketh upon it, shall live.
And Moses made a serpent of brass, and put it upon a pole, and it came to pass, that if a serpent had bitten any man, when he beheld the serpent of brass, he lived.
John 3:14-16 KJV
And as Moses lifted up the serpent in the wilderness, even so must the Son of man be lifted up:
That whosoever believeth in him should not perish, but have eternal life.
For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.