They attended church services and neighborhood social events because small banks, schools, and other community institutions were run by a local elite that enforced a certain kind of conformity.
They went to church and joined some local activities because of some sort of obligation to.