According to human psychology, it is said that the person who is possessed by drugs and/or gambling addictions needs to deal with it himself, the love and affection are just hopes and can't really do much unless that person willfully wants to get out of these things. Loneliness leads a person to either creativity (see big names like Bill Gates and Steve Jobs, they were alone as well) or the bad way - drugs, gambling, crime and other sort of addictions. I believe that it completely depends upon the choice they adopt during that situation.