Sentence:  When we are happy, we are always <WSD>good</WSD>, but when we are <WSD>good</WSD>, we are not always happy. 
Meaning of the word marked with <WSD> tags:  Acting in the interest of what is beneficial, ethical, or moral.