Yes I would suggest to focus your energies on getting your personal issues managed well. A lot of us with substance problems had to work hard on getting rid of negative influences. I sure did, this included for example detaching myself from someone who used to be the most important/influental person for me for a good while. It's hard... but sometimes necessary and the long term result may be worth it.
Best of luck; keep posting here, you will get lots of positive attitude and support here
There are also others here trying to beat weed...