Exodus 20:1-17: "1 And God spoke all these words, saying,
"2 'I am the LORD your God, who brought you out of the land of Egypt, out of the house of slavery.
"3 'You shall have no other gods before me.
"4 'You shall not make for yourself a carved image, or any likeness of anything that is in heaven above, or that is in the earth beneath, or that is in the water under the earth. 5 You shall not bow down to them or serve them, for I the LORD your God am a jealous God, visiting the iniquity of the fathers on the children to the third and fourth generation of those who hate me, 6 but showing steadfast love to thousands of those who love me and keep my commandments.
"7 'You shall not take the name of the LORD your God in vain, for the LORD will not hold him guiltless who takes his name in vain.
"8 'Remember the Sabbath day, to keep it holy. 9 Six days you shall labor, and do all your work, 10 but the seventh day is a Sabbath to the LORD your God. On it you shall not do any work, you, or your son, or your daughter, your male servant, or your female servant, or your livestock, or the sojourner who is within your gates. 11 For in six days the LORD made heaven and earth, the sea, and all that is in them, and rested on the seventh day. Therefore the LORD blessed the Sabbath day and made it holy.
"12 'Honor our father and your mother, that your days may be long in the land that the LORD your God is giving you.
"13 'You shall not murder.
"14 'You shall not commit adultery.
"15 'You shall not steal.
"16 'You shall not bear false witness against your neighbor.
"17 'You shall not covet your neighbor's house; you shall not covet your neighbor's wife, or his male servant, or his female servant, or his ox, or his donkey, or anything that is your neighbor's.'"
Leviticus 19:2: "'Speak to all the congregation of the people of Israel and say to them, You shall be holy, for I the LORD your God am holy.'"
James 2:10: "For whoever keeps the whole law but fails in one point has become accountable for all of it."
Romans 3:21-24: "21 But now the righteousness of God has been manifested apart from the law, although the Law and the Prophets bear witness to it - 22 the righteousness of God through faith in Jesus Christ for all who believe. For there is no distinction: 23 for all have sinned and fall short of the glory of God, 24 and are justified by his grace as a gift, through the redemption that is in Christ Jesus,"
Romans 3:28: "For we hold that one is justified by faith apart from works of the law."
+++
Only some of the stanzas are public domain:
6 "You shall not murder, hurt, nor hate;Your anger dare not dominate.Be kind and patient; help, defend,And treat your foe as your friend."Have mercy, Lord!
8 "You shall not steal or take awayWhat others worked for night and day,But open wide a gen'rous handAnd help the poor in the land."Have mercy, Lord!
9 "Bear no false witness nor defameYour neighbor nor destroy his name,But view him in the kindest way;Speak truth in all that you say."Have mercy, Lord!
10 "You shall not crave your neighbor's houseNor covet money, goods, or spouse.Pray God He would your neighbor blessAs you yourself wish success."Have mercy, Lord!
12 Our works cannot salvation gain;They merit only endless pain.Forgive us, Lord! To Christ we flee,Who pleads for us endlessly.Have mercy, Lord!
+++
Exodus 20:1-17 is the basis for the first ten verses. James 2:10 appears in the beginning of the eleventh verse ("You have this Law to see therein / That you have not been free from sin"), and Leviticus 19:2 seems to appear in the second half of the eleventh verse ("But also that you clearly see / How pure toward God life should be"). The two passages from Romans are in the twelfth verse.
"To Christ we flee, / Who pleads for us endlessly" in the twelfth verse may come from Hebrews 7:25: "Consequently, he is able to save to the uttermost those who draw near to God through him, since he always lives to make intercession for them."
Additionally, "night and day" in the eighth verse is a merism.