John Kennedy actually said...
It is the policy of the United States that activities in space be devoted to peaceful purposes.
Context
Message to the Congress Transmitting Report 'United States Aeronautics and Space Activities, 1961.'
01/30/1962