Depression and addiction often go hand in hand. Substance abuse can trigger or intensify feelings of despair and loneliness. Have a read of this article below on addiction and mental health. https://www.healthline.com/health/mental-health/adhd-and-addiction#1