Why, of course it has simple material explanations. One church goer says to another "You look peaked, Bob, you should cut back on the free drinks at the casino", or "Our priest has been caught sneaking a little boy again, so the church moved him to stop a lynching", or "The TB Joe caught from the random bum he slept with last summer is amenable to anti-biotics after all, could someone volunteer to help him go shopping?"
All such expression of the social instinct man has evolved tend to prolong the lives of the group that practices them, hence re-inforcing the gregarious instinct in future generations.
First of all, there is no proof that man's sociability is an 'instinct'. There are many folk who are totally unsociable and like to live by themselves. If it were an instinct it should be universal amongst mankind.
Secondly, the point of the reference was that religion is good for the health of people. You seem to agree that it is yet take low blows against religion showing again that evolutionists and atheists are birds of a feather.
However, the point I made that definitely destroys materialism and which you do not wish to address is the well proven point that the will to live leads to longer life. This shows that there is a totally non-material portion of our nature which greatly influences the material part of it and therefore it shows that materialism is totally false.