What matters is not the deficit but what government is doing with its funds. As long as these funds are invested productively in sectors like healthcare, education, research and others that increase productivity, then the debt/GDP denominator will rise, keeping the ratio in check.