Growing risks show that alliances help, but true national safety demands internal strength. Security cannot be outsourced.