live on borrowed time
To continue living or operating longer than expected, often with the sense that the end (death/failure) is near.
Learn English idioms with meanings and examples