This is an interesting, yet confusing teaching.
I see a hole with the premise that all good people won’t be in heaven.
Or rather, some, or a lot of ‘good people’ will end up in hell.
The problem is that by choice is how all creatures with free will end up separated from God. (vs Mercy required to be with God for humans, due to our nature)
Thus it would seem, if you do not choose God, you can’t be labeled good.
BUT, there is an instance of your point in my favorite parable - of the 10 Virgins.
10 were looking forward to the party, all headed out to the party. 5 prepared well for the party, 5 did not prepare well. The 5 that were not prepared, were denied access and in fact told they were not known.
It would seem the 5 that were denied could be labeled by us as ‘good’, yet unprepared. Some might argue that they can’t be labeled ‘good’, if they were not prepared.
What the parable doesn’t say is that they were then sent somewhere. Which would cause us to question my point about ‘choice’ being required to end up separated from God.