When the story ends, they either become kinder or tragically even more selfish.
The conflict your characters experience will ultimately cause a transformation for better or for worse. But it must happen. In the beginning, your hero may be a miserable selfish bastard. When the story ends, they either become kinder or tragically even more selfish. They learn along the way and change their behavior.