It's a survival tactic, but it would be beyond a family thing. Look at what we consider morality. Fidelity, honesty, integrity, compassion, all of them are about one person or group getting along with another person or group, it's about avoiding conflict. As society has progressed, human dignity has come into the equation, how we treat other people are considered part of the moral fiber, it went from being a social imparative to an unspoken code of conduct. There's clear progression throughout history.
"In our youth, we lacked the maturity, the decency to create gods better than ourselves so that we might have something to aspire to. Instead we are left with a host of deities who were violent, narcissistic, vengeful bullies who reflected our own values. Our gods could have been anything we could imagine, and all we were capable of manifesting were gods who shared the worst of our natures."-Me
"Atheism leaves a man to sense, to philosophy, to natural piety, to laws, to reputation; all of which may be guides to an outward moral virtue, even if religion vanished; but religious superstition dismounts all these and erects an absolute monarchy in the minds of men." – Francis Bacon
"Atheism leaves a man to sense, to philosophy, to natural piety, to laws, to reputation; all of which may be guides to an outward moral virtue, even if religion vanished; but religious superstition dismounts all these and erects an absolute monarchy in the minds of men." – Francis Bacon