Pessimism comes from the temperament, optimism from the will.
The pessimist sees difficulty in every opportunity. The optimist sees the opportunity in every difficulty.
The essence of my optimism is constructive pessimism.