Morality is, and always has been, built entirely upon empathy. Understanding how someone else feels and considering the greater implications beyond yourself is the fundamental building block to living a moral life.
Stoning people to death for mixing fabrics was based on morality too.