John Kennedy actually said...
Knowledge, not hate, is the passkey to the future--knowledge transcends national antagonisms--it speaks a universal language--it is the possession, not of a single class, a single nation or a single ideology, but of all mankind.
Context
Message to the UNESCO Meeting of Asian Ministers of Education in Tokyo.
03/31/1962