Religion helps motivate and organize morality, giving communities a shared code. But ethical living can emerge without faith as well.