All military spending comprises ~10-15% of the budget, just a FYI.
The military budget isn’t stopping anything. In 2022, $4.1 Trillion was spent on mandatory programs (social security, Medicare, Medicaid, income security).
Social security, Medicare, and Medicaid alone were just shy of $3 Trillion.