What is the meaning of Pessimism?

A general belief that bad things will happen.

The doctrine that this world is the worst of all possible worlds.

The condition of being pessimal.

pessimism; a general belief that bad things will happen

Source: wiktionary.org