If we’re right, morality evolved to promote cooperation, but that’s not the whole story. Once again, morality evolved (biologically) to promote cooperation within groups for the sake of competition between groups.* The only reason that natural selection would favor genes that promote cooperation is that cooperative individuals are better able to outcompete others. This highlights a more general point about the function of morality, which is that its ultimate function, like that of all biological adaptations, is to spread genetic material. Evolution is not aimed at promoting cooperation per se.
...more