Think this through. You could maintain a military so powerful no rational state would dare attack you. Or you could “right-size” until you get a military just barely powerful enough to defend your nation. You could very easily end up spending more in the second case, where you’d actually need to fight a life or death war, than in the first, where you just keep the military perpetually at the ready.