Dean Koontz said this quote

Yet the human heart is disheartened by the most unreasonable self-judgments, because even when we take on giants, we too often confuse failure with fault, which I know too well. The only way back from such a bleak despondency is to shape humiliation into humility, to strive always to triumph over the darkness while never forgetting that the honor and the beauty are more in striving than in winning. When triumph at last comes, our efforts alone could not have won the day without that grace which surpasses all understanding and which will, if we allow it, imbue our lives with meaning.