jd if a man lives a good life, but doesnt have a relationship with god, with they still be allowed into heaven ?

just curious

snow