Mar 10:19 You know the commandments: 'Do not murder, Do not commit adultery, Do not steal, Do not bear false witness, Do not defraud, Honor your father and mother.'"
Mar 10:20 And he said to him, "Teacher, all these I have kept from my youth."
Mar 10:21 And Jesus, looking at him, loved him, and said to him, "You lack one thing: go, sell all that you have and give to the poor, and you will have treasure in heaven; and come, follow me."
Mar 10:22 Disheartened by the saying, he went away sorrowful, for he had great possessions.
Mar 10:23 And Jesus looked around and said to his disciples, "How difficult it will be for those who have wealth to enter the kingdom of God!"
Mar 10:24 And the disciples were amazed at his words. But Jesus said to them again, "Children, how difficult it is to enter the kingdom of God!
Mar 10:25 It is easier for a camel to go through the eye of a needle than for a rich person to enter the kingdom of God."
Mar 10:26 And they were exceedingly astonished, and said to him, "Then who can be saved?"
Mar 10:27 Jesus looked at them and said, "With man it is impossible, but not with God. For all things are possible with God."
Being good and being saved are two different things. Yes, people can be good apart from God, but not saved.