Altruism is a component of evolution. All animals exhibit it to varying degrees. From that stems our ability to know right from wrong. Now, how someone is raised can impact that person's level of empathy, so...while nature brings us traits suitable for compassion and morality (however you define that)...how we are nurtured, brings the rest into place.
A sense of knowing right from wrong doesn't stem from religion, but religion tends to hijack concepts that it had nothing to do with in the first place. :/
A sense of knowing right from wrong doesn't stem from religion, but religion tends to hijack concepts that it had nothing to do with in the first place. :/