Idiom
a matter of time
sure to happen at some time in the future.If she wins next year's congressional race, it seems only a matter of time before she ends up running for the Senate.
Usage notes: usually used with only or just:
It's just a matter of time before prices for the newest computer come down.