It's your funeral used informally to warn someone that an unwise act or decision is their responsibility.
one funeral makes many sometimes with the implication that attendance at a deathbed or funeral may have fatal consequences. (Compare one wedding brings another.) The saying is recorded from the late 19th century.
See also dream of a funeral and you hear of a marriage.
Subjects: British History — Medieval and Renaissance History (500 to 1500).