The two are related, bad health makes it difficult to have meaningful relations and lack of meaningful relations fucks up your health. Smoking a pack of cigarettes a day is worse for life expectancy than loneliness.