First realize that this Scripture passage is taken out of context.
As it is said, a Scripture taken out of context is a pretext.
This then raises the question who is "good"?
Good according to God, or something that
a person has concocted in their own mind.
In this case it is someone who has been walking and
living with and for God. And in todays time setting,
that would be someone who has been born of the
Spirit of God. That is, born again and living with
and for God.
If that describes you,
then this Scripture is for you when that day comes.
"Good people die, and no
one understands or even
cares. But when they die, no
calamity can hurt them. Those
who live good lives find peace and
rest in death."
(Isaiah 57:1,2 GNT)
"Death has nothing terrible which life
has not made so. A faithful Christian
life in this world is the best preparation
for the next."
- Tryon Edwards