SOMEONE'S/SOMETHING'S DAYS ARE NUMBERED
If someone or something's days are numbered, they will not exist for much longer. someone’s/something’s days as something are numbered.
If the project’s funding runs out, the project’s days are numbered. With the patent expiring soon, the product’s days are numbered.
A concise, clear explanation of the idiom "someone's/something's days are numbered," noting its implication of imminent end and illustrating with brief examples.