Sam, I was the same. The anxiety and depression were there long before the drinking started. I was definitely drinking to self-medicate. Of course, that's a bad idea.
It will be a journey to recover, but you have a therapist, you're motivated and we're here for you.