Various other western countries have slashed their military spending, but the resources don't seem to be allocated to positive endeavors of a similar magnitude.
That's arguable. Peer countries (Germany, France, UK, Japan, etc) spend multiples of the US on foreign aid on a per capita basis. They also spend more on their domestic safety nets.