Pessimism promotes optimism

Any movement forces you to encounter the world and incur risk, which is to see the world as a trap. However, to remain still is to rot internally.

Knowing one outcome is always negative (standing still) means any movement has a better chance of success, and thus you are propelled from pessimism into optimism.