https://www.theatlantic.com/health/archive/2014/03/the-surpr...12 step programs are a lie, they just isolate people, make them annihilate themselves all for the purpose of then assuming a higher power has to save them from themselves, after which they either fail or become converted to the religion that hosts the current incarnation of the program.
There is a minority of modified programs that don't do that, but the classic one is not that.
That said, if it 'works' for someone that's great, but if it is just replacing one thing with another, it's just a sidestep and not an improvement (except for bystanders who only 'see' things as a third party and because it 'looks' better they think it therefore must be better).
In addition, removing the source of the problem (i.e. friends that cause you to drink) can help, but not as a universal solution. If people have such a degree of control over your actions, it's going to be more than just the friends that drink that can cause the problem.
There are however, a whole lot of other options that are not religious conversion that have good (and measurable) results. As soon as someone recognises they have a problem they need help solving and actually want to solve it, that's when you can actually get somewhere.