Those are general statements about the need for the populace to have a religious foundation since the Constitution itself is secular. The actual content of most of the Ten Commandments, three of them about monotheism others about not coveting your neighbor's goods and respecting your parents...are not to be found any documents of legal standing in the United States. Unless you're just looking at it as an early example of 'Law Giving'. In which case the Code of Hammurabi and the Magna Carta are bigger influences.
"Those are general statements about the need for the populace to have a religious foundation since the Constitution itself is secular."
It sounds like you have your mind made up about the "secular" Constitution and are just trying to rationalize around what is clearly being said by these founding fathers...
"Christianity is a part of the Common Law. . . . There never has been a period in which the Common Law did not recognize Christianity as lying its foundations."
"The law given from Sinai [the 10 commandments] was a civil and municipal ... code; it contained many statutes . . . of universal application-laws..."