‘Solitude’ by Ella Wheeler Wilcox describes the connection between one’s outlook on life and the friends and community one attracts.
Laugh, and the world laughs with you;
Weep, and you weep alone;
For the sad old earth must borrow its mirth,
But has trouble enough of its own.