From THIS LINK:
"On March 6, 1799, President Adams called for a national day of fasting and prayer so that the nation might "call to mind our numerous offenses against the most high God, confess them before Him with the sincerest penitence, implore his pardoning mercy, through the Great Mediator and Redeemer, for our past transgression, and that through the grace of His Holy Spirit, we may be disposed and enabled to yield a more suitable obedience. . ."
John Quincy Adams: "The highest glory of the American Revolution was this: it connected in one indissoluble bond the principles of civil government with the principles of Christianity."(July 4, 1821)
The quote you cited was out of context -- Adams was discussing how the U.S. had done away with the "divine right of kings."