It appears depression is common with substance abuse. Medication may be a companion treatment but no substitute for the basic requirement: practicing spiritual principles in all my affairs.
From an AA History lovers message board
*****! GroupsPaul Martin, 87 years old and 62 years sober. His sponsor was Tom Powers who
helped Bill Wilson edit and publish the 12x12….
...Paul always believed that guilt is the cause of depression. In fact, he was
sure that Wilson would not have had his depressions if he would have kept his
pecker in his pants.
Nailed it – self-will run riot is my biggest threat to emotional sobriety.