The judges who insist on trying to display the Ten Commandments in their courthouses usually get sued by the ACLU on the basis of the First Amendment of the Constitution. The judges try to defend themselves by claiming that American law has its basis in the Ten Commandments. Does it? Let's take the Commandments one by one.
1. Thou shalt have no other gods before me.Well, that one is a clear violation of the First Amendment, and no laws exist (or can exist) insisting that Yahweh is top dog.
2. Thou shalt have no graven images or likenesses of me.That one's not encoded in American law either. Images of God, Jesus, and Mary abound in the United States with no legal consequences.
3. Thou shalt not take the Lord's name in vain.No laws about that in America either. Such a prohibition would violate everyone's freedom of speech.
4. Thou shalt remember the Sabbath Day and keep it holy.Again, nobody is forced by law to do or not do anything in particular on Saturday.
5. Thou shalt honor thy father and thy mother.That one's pretty vague, but any coerced honoring is normally done at home and is not a law enforcement matter.
6. Thou shalt not kill.So, we get to the Sixth Commandment before we find one that is encoded in American law. And, in truth, almost every set of laws has included this one, even before Moses came down with the tablets.
7. Thou shalt not commit adultery.No law against that either, as far as I know. It's grounds for divorce in civil law, but you can't go to jail for cheating.
8. Thou shalt not steal.The second of the ten that is codified in American law.
9. Thou shalt not bear false witness.The third one out of ten.
10. Thou shalt not covet thy neighbor's various possessions.No law against wishing you had something your neighbor has. Now, if you take action on that desire, you're in violation of #7 or #8.
So, judges and elected officials, we're on to you. If you want to claim that American law is based on the Ten Commandments, save your breath. It isn't. And some of them are directly in opposition to the Constitution.