Islam strongly encourages positive thinking. Despair and pessimism have no place in Islam. Allah says in the Holy Qur’an: “Say: ‘O My servants who have transgressed against themselves [by sinning], do not despair of the mercy of Allah. Indeed, Allah forgives all sins. Indeed, it is He who is the Forgiving, the Merciful.’” (Az-Zumar: 53).