Just a matter of time

Meaning: Something is certain to happen eventually.

Example: With continued investment, it is only a matter of time before the business becomes profitable.