How so? It is not establishing any certain religion or forcing anyone to submit thereunder. It is merely an acknowledgement that our country's laws are based upon a belief and trust in God as evidence by our founding documents which include the words:
We hold these truths to be self-evident: that all men are created equal(by God), that they are endowed, by their Creator (God), with certain unalienable Rights, that among these are Life, Liberty, and the Pursuit of Happiness.....
And for the support of this Declaration, with a firm reliance on the protection of divine Providence(!!!!), we mutually pledge to each other our Lives, our Fortunes and our sacred Honor.
You are quoting the Declaration, which has no legal authority other than declaring us free from England. Our laws are based on the Constitution, a decidedly SECULAR document.