The phrase “establishment of religion” has a specific meaning: official state churches that existed at the time:
https://constitutioncenter.org/interactive-constitution/inte...Jefferson was a Francophile that had a radically different view of the first amendment than the other founding fathers. The constitution meant to create a society of religious pluralism, not French style secularism. See: https://scholarship.law.upenn.edu/cgi/viewcontent.cgi?articl...