From the examples of Nicodemus and Cornelius, being a religious person, a giver, knowledgeable in scripture, morally upright, and even having angelic encounters doesn't mean one is born again. Every person born of a man and a woman inherits a sinful nature. Just as physical birth qualifies us for this nature, being born again qualifies us for the gift of eternal life.