sign your own death warrant - definition and synonyms

phrase informal
  1. to do something that will cause you great danger or very serious problems
See also main entry: death warrant