Maybe I'm missing something, but the budget deficit and trade deficit are two separate issues. We can have a budget surplus (as we had under the Clinton administration) while still having a trade deficit.
They are separate but closely connected. Something has to cross the border in the opposite direction. Could be corporate stocks or bonds, could be government bonds.
You can see export of government bonds as the last line of defense where the economy failed to produce enough of other instruments to cover the imbalance.
My understanding is that other countries who end up with those dollars from our trade deficit tend to invest those dollars in US financial institutions: treasuries being one form, but also US stocks and corporate bonds and so on. So the deficit indirectly helps anyone with a 401K, and also allows the government to keep borrowing money.
But the trade deficit is mostly a private sector thing. It doesn't stop the government from raising taxes and cutting spending to achieve a budget surplus and eventually paying down the debt.