Not just superpowers; even the minor powers would likely evaluate their options. Humorously, if the US tried to go completely pacifist then it would be very politically contentious and it might get 'invaded' by one of its own States. Something like a Texas-Mexico alliance, perhaps.
'Pacifist' does not imply no defense spending. Swiss neutrality is arguably a very pacifist foreign policy, while Switzerland has a very well funded military for a country of that size.
To be clear, I'm not saying the military is unimportant. Just that housing may also deserve the kind of public funding that the military enjoys.