John Kennedy actually said...
We must also recognize that a free society today demands that we keep on learning or face the threat of national deterioration.
Context
Statement of Senator John F. Kennedy to the Adult Education Association of the U.S.A., Denver, CO
10/13/1960