Victor Hugo said this quote

That it was no doubt a dark hour, but that he should get through it; that after all he held his destiny, evil as it might be, in his own hand; that he was master of it. He clung to that thought.