What is the meaning of [the nearer the church, the farther from God]

People who are active members or officials of a church are often the least godly in their daily lives; also applied to those who live close to a church