John Kennedy actually said...
I believe that we are going to fail as well as succeed, but I believe that we are at least going to make the effort.
Context
Address in Chicago at a Dinner of the Democratic Party of Cook County
04/27/1961