Failure is the opportunity to begin again more intelligently.
Attribution checked
Quothly found supporting evidence for this attribution.
The wording (as "Failure is only the opportunity more intelligently to begin again") appears in Henry Ford and Samuel Crowther's My Life and Work (1922) and is documented by Quote Investigator, which cites the book and earlier magazine serializations.
Quote Investigator — "Failure Is Only the Opportunity More Intelligently To Begin Again"