And it set a horrible precedent for the dramatic overspending of George W. Bush and Barack Obama, which has sent us on a course to oblivion. You can argue it was necessary to defeat the USSR, but you can't argue that baseline spending (in black) has done anything but go up, up, up to dangerous new levels as a result (notice the baseline Jimmy Carter inherited from liberal Republicanism, for which he got the blame from Ronald Reagan, which wasn't very nice of the old man who went on to bequeath a similar giant new baseline to his successor, G.H.W. Bush).
No, the real miracle was the pathetic loser in Iran, Jimmy Carter, who spent the least in the post-war for his additional GDP, followed by Bill Clinton.
Of course, the spending is all the prerogative of the Congress. The president proposes but the Congress disposes, as the saying goes.
Beware libertarian politicians preaching balanced budgets, as well as utopian infrastructure spending enthusiasts promising the moon and liberal Republicans selling government spending as security to senior citizens at the expense of younger Americans in a time of protracted war. They have delivered little beyond $20 trillion in debt.