Voltaire said this quote

Shall I not render a service to men in speaking to them only of morality? This morality is so pure, so holy, so universal, so clear, so ancient, that it seems to come from God himself, like the light which we regard as the first of his works. Has he not given men self-love to secure their preservation; benevolence, beneficence, and virtue to control their self-love; the natural need to form a society; pleasure to enjoy, pain to warn us to enjoy in moderation, passions to spur us to great deeds, and wisdom to curb our passions?