A nail in (someone’s) coffin

Something that will harm someone.

Fighting with his boss was a nail in the man’s coffin. He will not get a promotion now.