When something is important enough, you do it even if the odds aren’t in your favor.
Attribution checked
Quothly found supporting evidence for this attribution.
Wikiquote documents the wording (attributing it to 2012) and presents it as a direct Elon Musk quote, supporting the credible association.
Elon Musk - Wikiquote