You act as if that 5 trillion was all due to democrats spending wildly when the truth is about half of it was caused by Bush's voodoo economic tax cuts which were supposed to increase tax revenues somehow but we see how well that worked out. So yeah you can blame the democratic congress for some but the real meat of the deficit comes from the changes in the tax code and increased defense spending.
Now that the wars are actually accounted for in the budget(they weren't under bush) you will see the real cost of our imperial adventures. So until republicans figure out how we are gonna keep the same tax structure without running serious deficits then we are gonna be in this mess for a while.