Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press, or the right of the people to assemble, and to petition the Government of a redress of grievances.
They weren't thinking of any one religion predominating in the United States.
As a matter of fact, they were thinking that religion meant a form of Protestant Christianity.