The phrase "shameful thing" refers to an action or behavior that is considered disgraceful, embarrassing, or morally wrong.