/neɪl ən wʌnz ˈkɔfɪn/
a factor leading to failure or demise
“His late nights were a nail in his coffin.”