be a question of time
To be an inevitability or eventuality; to be something that is or seems certain to happen at some point in the future. With your reckless spending behavior, it's just a question of time before you go broke.
be a question of time
be certain to happen sooner or later.