My family's pretty religious but I slipped away from religion and started chasing my earthly desires. I hadn't prayed namaz for around a year and completely lost my purpose. Around 5 months ago I was diagnosed with clinical depression and just wished for death. I didn't know what to do. You might think I'm lying to get you back onto the deen but trust me, as a person who's been where you're possibly at right now, I was sort of cured when I started believing again.
one night when I was scrolling down my Instagram feed I came across an Islamic page. It wasn't extreme like the others, it didn't add any cultural crap (Pakistani's usually add their culture to religion which is actually prohibited in Islam as it makes it extremely difficult for people to practise Islam) it simply posted the straightforward laws of Islam. Anyways, I came across one of the posts on that page which talked about depression and how you can be free of it by remembering Allah and making dua so I gave it a shot. I didn't have anything to lose anyways. I made wudu and prepared myself for prayer and I'm not going to lie, I wasn't expecting anything to happen. After I prayed my Isha namaz I sat on the prayer mat and started making dua. Whilst making dua I was being hit by so many emotions and I didn't know what to say, I didn't know what to ask for from Allah, I didn't know how to express my feelings so I just sat on the prayer mat crying knowing that if Allah was real he would know what I'm trying to say without me literally saying things to him, he would know the condition of my heart without me telling him. After about half an hour I got up and carried on with my daily tasks. That night I didn't feel any stress or worry whatsoever and it was the first night in over a year in which I had fallen asleep peacefully without crying. This helped me recognise the power of my lord and the love he has for me. He accepted the duas I hadn't even made. Since that day I have been trying my best to pray all 5 salahs and my life is now on track.
I'm not trying to manipulate anyone into praying but try it, it wont do you any harm but it might just change your life for the better.