Turns out we spent trillions building the wrong military.