Mental illness and suicidal thoughts are serious issues that we must address. Where do these thoughts come from and how do we deal with them?
One thing we have to realize is that we all have an enemy who is always trying to make us despair... And that is Shaytan
Sister Yasmin Mogahed explains and answers
One thing we have to realise is that every single one of us has an enemy, and this is an enemy, I'm not talking right now about military enemies, external enemies. I'm actually talking about an enemy who many, many years ago has vowed to attack us from our front and from our back and from our right and from our left. And that is Shaytaan and his army. Shaytaan is always trying to make us fall, is always trying to get us off of the track, off of the straight path. But there's something else that Shaytaan is also always trying to do and that is he's always trying to make us despair, he's always trying to make us give up. That is his goal. And so a lot of times what Shaytaan will do is he will whisper to us, he will whisper to us self-defeating thoughts, things like, "I'm worthless." "I might as well just die." "There's no reason for me to live."
These kinds of thoughts are very much whispering from the Shaytaan. Shaytaan wanting us to give up, wanting us to despair, wanting us to be hopeless. And so the best way to combat those thoughts is through the remembrance of Allah Subhanahu Wa Ta’aala and seeking refuge in Allah from Shaytaan and from his whispers. Remember that no matter what you've done, that no matter how hard things get, Allah's Mercy is always there. Allah's door is always open, and so there's actually never a reason to lose hope. There's never a reason to despair. Even a person who has committed every sin in the book can still turn back to Allah Subhanahu Wa Ta’aala and repent. And no matter what you've gone through in life, Allah Subhanahu Wa Ta’aala can heal you.
One of the attributes of Allah is Al-Jabbar. And one of the meanings of this attribute is He is the One, He is the Healer. He is the One who mends. And anything that's broken can be mended by Al-Jabbar. So a person should never lose hope and never allow the whispering of Shaytaan and his army to make that person fall into despair. Seek refuge in Allah, remember Allah and turn to him. And if we do that, if we truly do that, then what Allah can do is He can mend anything that's been broken. Broken hearts, broken lives, Allah can mend it, and there's no reason to despair. When you have Allah Subhanahu Wa Ta’aala then you can always turn back to Him and Allah's Mercy, it encompasses everything.