/də ðə ˈdiːs(ə)nt ˈθiŋ/
act in a morally right way.
“She decided to do the decent thing and apologize.”