It is possible that the quote is a paraphrasing of something Churchill said or wrote, or that it originated from another source entirely.
Regardless of its origin, it's a powerful and inspiring message about the importance of perseverance and resilience in the face of adversity.