I was like that. No matter how bad I want to stop, I couldn't do it.
When I finally had enough of the suffering and couldn't take it anymore, I went to a detox. When they suggested a treatment centre, I said yes. When a woman from AA came to visit me in the detox and told me that one day I would be able to look people in the eye again, I was willing to try the AA program. When the 5 weeks of treatment were coming to an end they suggested I go to a halfway house. (sober living).
I stayed for 13 months and during that time and for 30 years later I attended AA regularly.
All those things got me sober and helped me to stay sober and have led me on to a pretty good life.
So I would say that to quit trying to do it on my own and getting some help is what saved me.