Turn your focus to the Creator
Often what makes us fall into despair is focusing on the wrong things. For example, if we’ve sinned, we focus on the sin, rather than the Most Merciful.
If we’re broken, we focus on the break instead of Al Jabbar, the One who mends. If we are in pain, we focus on the pain itself, instead of on the One who removes all pain. If we are wounded, we focus on the wound instead of on the One who heals all wounds.
If we’re scared, we focus on the fear, instead of the Protector. And if we’re facing a problem, we see the problem, but not the One who can solve it. We see the lion, but not the lion tamer. We see the imperfections of dunya, but not the perfection of Allah.
We see the immediate, but not the Tomorrow, the tree, but not the fruit, the thorn, but not the rose.
All our pain, all our despair, all our hopelessness, stems from looking at the creation, instead of the Creator.