John Kennedy actually said...
In the long run, the most effective antidote for inflation is increased productivity and greater production.
Context
Senator Kennedy Why Should the American Businessman Support the Democratic Party? - New York Times
10/17/1960