Here's the speech:
http://www.cs.umb.edu/jfklibrary/j092561.htm
Kennedy delivered it to the UN on the occasion of Dag Hammerskjold's death, but the Bay of Pigs invasion had occurred in April of '61, and in September, the world was dealing with the "Berlin Crisis" and the issues of nuclear disarmament.
It's a great speech -- check it out.