John Kennedy actually said...
I do not want our politics colored by considerations of national security, and I do not want our national security colored by considerations of politics.
Context
Speech of Senator John F. Kennedy, Wittenberg College Stadium, Springfield, Ohio
10/16/1960