sign one's own death warrant
sign one's own death warrant {v. phr.}
To cause your own death or the loss of something you want very much.
Mr. Carter had lung trouble, and the doctor told him he would sign his own death warrant if he didn't stop smoking.
When Jim's fiancee saw him on a date with another girl, he signed his own death warrant.
Categories:
Source: A Dictionary of American Idioms