There is a lot of religious activity that God does not accept, does not approve of, and even finds abominable. He looks not just at what a person does in His name, but at what else they are doing away from that one activity and at who they are and what they are thinking internally as they do it.