John Kennedy actually said...
A free society is the most difficult of all kinds of government to maintain, and it can only be done if we have the best educated and the best trained citizens.
Context
Remarks of Senator John F. Kennedy, Eugene, OR, Courthouse Square
09/06/1960