In the Old Testament, when the Israelites were bitten by serpents, they had to look steadfast on the brass serpent on the pole in order to be healed, in Numbers 21:8-9.

That brass serpent was a type of Jesus who became sin for us when He hung on the Cross,   
2 Corinthians 5:21.