John Kennedy actually said...
I have confidence in our ability to close the missile gap, to modernize our conventional forces, and to give this country the kind of defensive strength it needs to stop the next war before it starts.
Context
Speech of Senator John F. Kennedy, Chase Hotel, St. Louis, MO - (Advance Release Text)
10/01/1960