Sentence:  I think he did absolutely the right thing, because according to his own personal <WSD>moral compass</WSD>, interfering with someone else's marriage was a sin. 
Meaning of the word marked with <WSD> tags:  An inner sense which distinguishes what is right from what is wrong, functioning as a guide (like the needle of a compass) for morally appropriate behavior.