I believe the Massachusetts reference to the "Great Legislator of the Universe", refers to Billy Bulger, and if you don't believe it, his brother will kill you.<quoted text>
Don't states mention God in their preambles?
In almost all cases, states mention God in the preambles to their constitutions. Only a few do not. New Hampshire, Vermont, and Virginia do not have preambles. Tennessee's only mentions "Lord" in the context of dates. Oregon's preamble is decidedly neutral.
The use of the term "in the year of our Lord" is very common.
Many states mention God in sections that refer to religious freedom, but many of those refer to "Almighty God," which, by all objective standards, is an endorsement of the Judeo-Christian-Islamic deity (several of the religious freedom sections mention Christianity specifically).
A handful of states have provisions that deny elective office to anyone who does not believe in God. Some also prohibit non-believers from serving as witnesses in trials. These provisions are probably not enforceable. See Specific Denials for more detail.
The oaths of office codified in the various constitutions often include the closing statement, "So help me God." Several states allow an alternate statement such as "Under the pains and penalties of perjury." Several do not allow an alternate closing, and several have no such closing whatever.