your, its, etc. days are numbered

(someone's or something's) days are numbered

Someone or something is doomed to die or end very soon. Often used hyperbolically or humorously when referring to people. If news of this gets out to the public, your days as a senator are numbered! My phone's days are definitely numbered—the battery won't last more than an hour. The captain of the wrestling team found out that I kissed his girlfriend, so my days are numbered now!
See also: days, number
Farlex Dictionary of Idioms.

your, its, etc. days are ˈnumbered

somebody has not long left to live; something will not last much longer: Now that we’re no longer getting any government support, the theatre’s days are numbered.
See also: days, number
Farlex Partner Idioms Dictionary
See also:
  • (someone's or something's) days are numbered
  • days are numbered, one's
  • chain (someone or something) to (something)
  • chain to
  • as far as the eye can see
  • as far as the eye can/could see
  • curl up and die
  • can't get over (something)
  • can't get over something
  • die of a broken heart