The wall was never intended to prohibit religion in the public square or to prohibit its its influence on government issues and policy, etc. The wall that metaphor, the wall was intended to do exactly the opposite of that. It was meant to prohibit the government from encroaching upon religion.