John Kennedy actually said...
It is my sincere desire that in the continuing quest for knowledge of outer space our nations can work together to obtain the greatest benefit to mankind.
Context
Message to Chairman Khrushchev Concerning the Flight of the Soviet Astronaut
04/11/1961