code of honor
noun phraseUK /kəʊd əv ˈɒnə/
US /koʊd əv ˈɑːnər/
A set of rules that a person promises to follow because they believe it is right.
The knight lived by a code of honor that taught him to be brave and kind.
OTHER MEANINGS
2. A strict set of rules followed by a group, such as soldiers or warriors.
The soldiers followed a code of honor on and off the battlefield.
3. A personal promise to act fairly and truthfully.
She kept her code of honor and never told a lie.
4. The beliefs about right and wrong that guide how someone behaves.
His code of honor made him help anyone in trouble.