I think you should tackle things step by step, for me I love to break things down to make the feeling of hopelessness go away or get smaller, I don't know what you're dealing with, so I hope this can help. Making a list of what things are bothering you, perhaps a mindmap, with all the things you can do to reduce it is something I do in my head and sometimes jot down to help me clear my thoughts. Normally I say, 'What is bothering me so much this week?' and list all of the things. Life is tough, but you mentioned that you're Muslim, and one of the verses that frequently come to mind for me are “So, verily, with the hardship, comes ease. Verily, with the hardship, comes ease.” from chapter 94, it is repeated twice, which, if you're religious, can be reassuring. Of course other than that, you just have to trust yourself as life is a journey. If you need someone to talk to, there are plenty of support groups online, and apps/free helplines where you can just text someone your thoughts. I wish you the best.