matter of time

上級 (C1) neutral

Something that will definitely happen sooner or later.

"With the debt mounting, it was only a matter of time before the company collapsed."