Which countries are we currently invading? Regardless, in the 2023 budget Social security far outstrips defense, Medicare is just a shade higher, and Medicaid is not far behind. I'm entirely in favor of slimming down the US military industrial complex, but doing so isn't going to fix the deficit. You could 0 out the defense budget entirely and there would still be another trillion dollars of deficit to deal with.
Just listing the ones from my short life so far: Afganistan, Iraq, Syria, Libya, Palestine & Lebanon (indirectly through massive support to Israel). I'm sure I missed a few since there are so many.
Taxes are only one side of this problem. The other side is expenses. Empires are expensive.