moral code

noun
UK /ˈmɒrəl kəʊd/
US /ˈmɔːrəl koʊd/

A set of rules that helps a person know what is right and wrong.

Her moral code tells her to always tell the truth.


OTHER MEANINGS

2. The guiding rules of a group or religion.

The club follows a strict moral code.

3. A personal sense of what is fair and good.

He broke his own moral code by lying.

4. A system of ideas about right behavior.

Different cultures can have different moral codes.