John Kennedy actually said...
Only through such strength can we be certain of deterring a nuclear strike, or an overwhelming ground attack, upon our forces and our allies.
Context
Radio and Television Address to the American People: Nuclear Testing and Disarmament
03/01/1962