I’m a pessimist because of intelligence, but an optimist because of will.

Antonio Gramsci (1891-1937) Italian writer, politician, Marxist political theorist
Letter from Prison (19 Dec 1929)

Also attributed to Romain Rolland.