suggests that
people who are unhappy may seek the company of others who share their troubles, whether for comfort or reassurance.
When it is solace to have company in difficult times; People who are sad, often like to be around people, in order to forget their misery., the saying “Misery loves company” is appropriate.