The Big Book of Alcoholics Anonymous states, "He clamors for this and that, claiming he cannot master alcohol until his material needs are cared for. Nonsense. Some of us have taken very hard knocks to learn this truth: Job or no job-wife or no wife- we simply do not stop drinking so long as we place dependence upon other people ahead of dependence on God."
I have struggled with this also, but as long as you put your trust in God and believe you will get better, everything will fall into place, as well as friends. I suggest going to an AA meeting and start reading the big book.