Demotivated and Hopeless from life

30M.

Assalamualaikum All brothers and sisters. I am addicted to masturbation and porn since 2005 (10 Y/O). All I want to say that I don't know how and why I get into all this. The only thing I now is that I was learning Quran by heart and used to be an intelligent student and a good cricket player. Shamefully, I've crossed all limits and boundaries definitely by Allah like homosexuality as well. It didn't left even after my marriage. I have a beautiful wife. I am ashamed of my life, my career has been fucked up. It's been the 8 years since my graduation, I couldn't get my stable dream job despite of having skills. I'm so hopeless today that literally I want to quit my life. I am addicted to smoking as well to lessen my past pains and even hopeless from my life that nothing could be ever changed. I am on the verge of losing my imaan. I even have lost my motivation in prayer and spirituality. . Brothers and Sisters, help me as I am unable to quit this filth habit. I want to achieve my dream life that has been broken. .

Regards