I helped people when I was messed up as well and possibly wouldnt have been there if I wasnt using. Who really knows? I try and stay away from thoughts where it seems like I am trying to justify using (insert drinking) to myself.
I probably could have helped many people I did not because I was out there getting messed up. I prefer to look at it that way.