How odd, that one should be good not for the sake of goodness, but out of fear of damnation.
Jesus is an example of an ideal person. Being literally divine Jesus is capable of setting a perfect example of love, forgiveness, and compassion. We humans are not. We have flaws, but should still strive to be good people, just as Jesus was a good human.
If you are "being good" or "not being bad" for selfish reasons, you aren't acting out of love or goodness. Heaven, hell, reward, punishment, these shouldn't matter when it comes to virtue or vice.