Is religion necessary to prevent moral decay in society—or can ethics thrive without it?

Throughout history, religion has often served as a foundation for laws, moral codes, and social norms. Supporters argue that religious frameworks instill discipline, community values, and accountability, helping maintain societal order. Critics claim that morality can exist independently of faith, grounded instead in reason, empathy, and shared human experience. When considering the roots of ethical behavior, does society need religion to stay virtuous—or can morality flourish without it?