All 32 NATO countries have agreed to spend 5% of their GDP on defense and security capabilities by 2035.