Some were sick through their sinful ways, and because of their iniquities endured affliction; they loathed any kind of food, and they drew near to the gates of death. Then they cried to the Lord in their trouble, and he saved them from their distress. (Psalm 107:17-19)
And just as Moses lifted up the serpent in the wilderness, so must the Son of Man be lifted up, that whoever believes in him may have eternal life. (John 3:14-15)