This was caused by a failure of the religious institutions, not a hostile, secular government.
I am interested in hearing your explanation for this claim. The government became hostile to religion in 1948, thanks to Roosevelt appointed wacko judges.
At the time of the founding, some states still had official state religions, so the notion that there could be no religion in state governments was absolutely wrong.