Victor Hugo said this quote

His ideas assumed a kind of stupefied and mechanical quality which is peculiar to despair.