one's days are numbered
Definition from Wiktionary, the free dictionary
- (idiomatic) Some period of time, such as a term of employment or a lifetime, is coming to an end.
- If his performance does not improve very soon, his days at this company are numbered.
some period of time is coming to an end