duty bound

[duty bound] {adj. phr.} Forced to act by what you believe is right.

Abraham Lincoln walked miles once to return a few pennies that he had overcharged a woman because he felt duty bound to do it.

John felt duty bound to report that he had broken the window.