John Kennedy actually said...
But it is an unfortunate fact that we can prepare for peace only by preparing for war.
Context
Speech by Senator John F. Kennedy in Seattle, WA, at the Civic Auditorium - (Advance Release Text)
09/05/1960