To have one's days numbered
Describes a situation, person, or thing that is close to ending or being replaced. Identical in meaning to the English idiom.
With those results, the coach has his days numbered.
That business model has its days numbered.
—Do you think she'll stay in the role? —Her days are numbered.