To pull us out of the depression the prior republican administration threw us into, yes. That is correct.
However there is no need to borrow boatloads of additional money currently, the private sector is doing OK, so there is no need for substantial deficit spending as a pump-prime mechanism. Any additional spending (which certainly is needed to fix decades old crumbling infrastructure) should be met with tax rises on those with the ability to bear the rises - i.e. the super-rich. This is what any credible economist would suggest anyway as we are wayyy wayyy away from the maximal point on the laffer curve for them (~70% income tax rates).