Going against one's beliefs can lead to inner conflict.
He refused to do anything that went against his values.
Lying went against her morals, so she always told the truth.
It was against his conscience to cheat on the exam.
Acting unethically was against her principles.