God saves all people who accept the work of His Son, Jesus, on the cross. Period. Salvation has nothing to do with good people. There are no good people. Just saved sinners and unsaved sinners. It’s so simple folks. If it took being good to be saved, Heaven would be looking like the bank parking lot on Sunday.
I take it you do not believe in the New Testament. Jesus spent a lot of his time on earth teaching us how we were to act, how to be "good people", so that we could join him in heaven. How many are there, we don't know. We do know that, even if you accepted Jesus as your savior, if you did not recognize him in other people and treat them as Jesus taught, he will not recognize you to his Father.