Chapter 2 ended with belief based on miracles. Chapter 3 begins with a miracle based on belief as we see Jesus' encounter with Nicodemus, a man who sought Him for all the right reasons. As the story unfolds, we will observe Nicodemus and Jesus as they meet face-to-face, in verses Joh 3:1-3, mind to mind, in verses Joh 3:4-8, and heart to heart in verses Joh 3:9-21.
Three words come to mind in describing Nicodemus: religious, rich, and ruler. As a Pharisee, Nicodemus was extremely religious. We know this because the entire Pharisaical brotherhood, numbering six thousand, was dedicated to keeping the most minute regulations of the Old Testament law, as delineated by their fellow brotherhood, the scribes. It was the scribes' job to interpret the law and the Pharisees' job to implement it.
As for riches, we know Nicodemus was wealthy because in John 19, we read it was he who brought costly myrrh and aloes to the tomb of Jesus. Thus, it is not surprising to read that Jewish tradition names him as one of the three wealthiest men in the nation of Israel. Furthermore, the fact that Nicodemus is identified as a "ruler of the Jews" means he was a member of the elite seventy-member Jewish Supreme Court, the Sanhedrina position that would have guaranteed him the highest regard and respect.