No one can separate themselves from one's social group and remain healthy, because the very structure of personality is dependent on the community.
In any discussion of religion and personality integration the question is not whether religion itself makes for health or neurosis, but what kind of religion and how is it used? Freud was in error when he held that religion is per se a compulsion neurosis. Some religion is and some is not.