Theodore Roosevelt actually said...
Of course you must have the ability to stand up to the hammering; the courage, the daring, the resolution to endure.
Context
Commencement Address at the United States Naval Academy in Annapolis, Maryland
05/01/1902