If an African nation has a resource that America wants, it could threaten to cut off the HIV/AIDS program or other aid. Now the USA has lost that tool.
Optically, how do you think that looks? In what reality is this a usable stick?
I think the political environment that leads to USAID being cut clearly shows that the government should be doing more the solve the domestic economic pain being felt by most Americans. But reallocating USAIDs budget isn't enough to do that and harms the US's ability to get things done on the international stage in the long term.
Military LARPing (like China's armed forces) isn't the same.
USA does pay for their wars in foreign countries. Do you think the politicians supporting these wars are just waking up a morning an think "oh, you know what, let's waste a lot of tax payer money for absolutely no reason"? These politicians are paying for foreign-countries interventions because they are pretty sure it is very beneficial for the USA. They think it's tax payer money very well spent, beneficial to the US citizen, despite being spent in another country.
So if it is true about "war", then it is certainly true too about other kind of intervention. (probably soft power is even more beneficial, as wars are usually lose-lose situation while soft powers are usually win-win)
Abruptly blowing up the building helped no one and did tremendous damage to both needy recipients and perception of the U.S. abroad.
It was killed because it included DEI, LGBTQ and gender advocacy programs, handed out contraceptives in Afghanistan, etc. Because it was "woke." That's it.