Addiction causes psychiatric problems but, at least in some cases, psychiatric problems can come first
Addiction is a complex illness that affects different people in different ways. Just because someone gambles, takes drugs or drinks alcohol does not mean that they have an addiction - an addiction is a loss of control over substance use or behaviour.
I don't have the answers to your situation,but take it from someone who knows, you will find the answer if first you look inside yourself. I had to become so dissatisfied with what I saw before the answers started coming to me.
Peace and love baby!
"The Cat"