I don't deny white flight and red-lining happened, continues in some places, and is horrible. I'm not convinced that's the sole or even primary reason for modern loneliness.
> Things like Elks Lodges went into long term decline when women and blacks had to be admitted.
People don't need institutionalized racism and misogyny to make friends. They already have a right to be racist and privately associate / not associate.