Okay, so (to use your example) "generous" genes triumph over "selfish" genes in the long run, so more people are born with an inclination to share food with their offspring. In the same way, then, our shared concepts of right and wrong are the result of this sort of natural selection; what gets genes passed on stays, what doesn't, doesn't. Have I understood what you're saying?
You're talking about neuroscience not psychology. Dominate genes are not represented by what adapts you best. Like being bald is a dominate gene issue with some people. In no way does that adapt them to survive better. If so the physical evaluation of humans would have been a lot more rapid.