Speaking to Nicodemus, a respected Pharisee of the day, Jesus compared his role to that of the bronze snake in the wilderness: take one look and be delivered from the death that comes with judgement. Jesus had come to save people from judgement:
John 3:18There is no judgment against anyone who believes in him. But anyone who does not believe in him has already been judged for not believing in God’s one and only Son.
Jesus explained this idea of judgement a bit more:
John 3:19-21And the judgment is based on this fact: God’s light came into the world, but people loved the darkness more than the light, for their actions were evil. All who do evil hate the light and refuse to go near it for fear their sins will be exposed. But those who do what is right come to the light so others can see that they are doing what God wants.
Unfortunately, we never learn what Nicodemus did with this information.