But hope and despair do not bear on the same thing: since hope regards the good, whereas despair arises from some evil that is in the way of obtaining good. Therefore hope is not contrary to despair.
 Thomas Aquinas, Summa Theologica (1274). copy citation

add
Author Thomas Aquinas
Source Summa Theologica
Topic evil despair
Date 1274
Language English
Reference
Note Translated by Fathers of the English Dominican Province
Weblink http://www.gutenberg.org/cache/epub/17897/pg17897-images.html

Context

“Objection 1: It would seem that despair is not contrary to hope. Because "to one thing there is one contrary" (Metaph. x, 5) . But fear is contrary to hope. Therefore despair is not contrary to hope.
Obj. 2: Further, contraries seem to bear on the same thing. But hope and despair do not bear on the same thing: since hope regards the good, whereas despair arises from some evil that is in the way of obtaining good. Therefore hope is not contrary to despair. Obj. 3: Further, movement is contrary to movement: while repose is in opposition to movement as a privation thereof. But despair seems to imply immobility rather than movement. Therefore it is not contrary to hope, which implies movement of stretching out towards the hoped-for good.
source