Morality, after all, has nothing to do with selflessness. On the contrary, self-interest is precisely the basis of the categorical imperative.
Human morality is unthinkable without empathy.
Religion may have become a codification of morality, and it may fortify it, but it's not the origin of it.
It wasn't God who introduced us to morality; rather, it was the other way around. God was put into place to help us live the way we felt we ought to.