>
It's a necessary common value system that underlies peaceful cooperation. In this sense it's an evolutionary advantage to treat each other morally and have a shared ethic. That includes not exploiting others for personal gain.It's an evolutionary advantage for a species.
For an individual animal it's an advantage to not follow morality anytime it can get away with it, and thus gain more sexual partners, food, influence in the herd, etc, and from that, more progeny.