John Kennedy actually said...
We are committed to the continuing pursuit of liberty and justice, and neither illusion nor disappointments will distract us from our objective.
Context
Presidential Message for the Jewish New Year.
09/05/1963