"On the twenty-fourth day of the ninth month, in the second year of Darius, the word of the Lord came to the prophet Haggai: 'This is what the Lord Almighty says: "Ask the priests what the law says: If a person carries consecrated meat in the fold of his garment, and that fold touches some bread or stew, some wine, oil or other food, does it become consecrated?"' The priests answered, 'No.' Then Haggai said, 'If a person defiled by contact with a dead body touches one of these things, does it become defiled?' 'Yes,' the priests replied, 'it becomes defiled.'" NIV translation
On this day (December 24, 520 B.C.), the prophet delivers a message to the priests in the form of questions regarding the law. From these questions, we see that holiness is not transmitted by contact with an object. Just because they passed through the doors of a temple didn't mean that they were holy in God's sight. The same thing is true for us today, in that, just because you enter a "church building" it does not make you a Christian.