do the decent thing

Verb

 * 1)  To take the most honourable or appropriate course of action, even if is not necessarily in the person's own interests.