If you say that someone should do the decent thing, you mean that they should do something which they do not really want to do, but which you think they ought to do.
He should do the decent thing and resign.
See full dictionary entry for decent
Examples of 'do the decent thing' in a sentence
do the decent thing
AT least one England captain did the decent thing yesterday and resigned.