Good people don’t get rewarded, they don’t get special favors. The only thing that matters is who can survive.
If there is a theology that history supports, it is that the world is made up of two opposing spirits: good and evil. Zoroastrianism, Manicheanism, and Christianity all preach that good and evil forces exist, and are in an eternal battle. Christianity promises that in the end, the good shall prevail, but history makes no such assurances.
According to nature, the good is not what is moral, it is whatever promotes survival and reproduction.