That's not accurate. See e.g. https://plato.stanford.edu/entries/moral-theory/ section 1.2.1 "Morality and Ethics"