I think of it like, humans have survived as long as we have because we have empathy. I don't want you to kill me, and I'm pretty sure you don't want me to kill you, so I won't kill you in hopes that you will also not kill me. And that's basically how morality was born