Yeah we all know the Thanksgiving story about the Puritans coming here for religious freedom.
But!
The Puritans wanted religious freedom only for themselves. They didn't want religious freedom for others.
The writers of the Constitution and the First Amendment wanted no interference from government in religion AND no interference from religion in government.