*Morality=The individual's personal code, Ethics=Society's code of moral behavior
Morality doesn't come from dogma, but (mostly) from empathy, which is a higher brain function present in humans and many different animal species. And it is affected by the culture/community you are born into, so in other words, morals/ethics are not objective, but subjective, and change over time. Add in some philosophy, social justice, freedom of expression, and zero-tolerance for the intolerant, and you have a well-rounded belief system minus the dogma, i.e. Secular Humanism.
It should be noted that I'm not claiming all people are inherently good, but that for most, the benefits of recirpcity and reputation, smart people (no matter their moral compass) will consider the ethical trade-offs of their decision-making.