Which came first...the chicken or the egg???
For me the severe depression was there before I ever started medicating with booze and/or drugs.
Stabilizing my mental state, right now through therapy and medication changes works hand in hand for me with my active participation in AA