That is NOT codified into law. It is in the Declaration of Independence which is persuasive authority but not codified law.
The Supreme law of the land is the Constitution. Our codified Law of the Land is the U.S. Constitution. The Constitution creates and delegates certain limited enumerated powers to the feds, mostly in Art I, Sec. 8. If it's not in the Constitution, it is NOT a federal power.
Read and re-read the 9th and 10th Amendments. No mention of God means the feds have NO authority or regulatory power over religion, beliefs or thoughts. Thank God.
Our Founders did not want another State Church or Religion like the Church of England which is why many escapee to the New World of America.
Th>r is no State Religion , but t&e fo<darion is Biblical.