Many of the comments above corroborate exactly what I say. The commenters are convinced that THEY are the ultimate deciders of what is Good and what is Evil; hence, they claim, morally speaking, to be "god."
And if you are god, then what is the point of religion? They may pretend to Believe, but in their twisted, shriveled little hearts, they are irreligious.
As a legal institution, the 10 Commandments incorporate some of the cultural notions of the Golden Rule (e.x. respect for people's autonomy, family, property, and so forth).
As far as history is concerned, they aren't the "only" legal system founded on said concepts, such as our modern Common Law is likewise, as well, albeit more sophisticated and relevant to the 21st century.
If you are arguing there is no good or evil, then of course there is nothing "evil" about deciding what is good or evil to begin with, not just "for yourself", but for others as well.
And, of course, that is effectively what the law, ancient as well as modern does - your "freedom", of course is not absolute.
If you, for instance, decide that it isn't evil to rape, to murder, to steal your neighbor's property, then, yes you will have said "religious" morality forced on you via the law, the police the, courts, and so forth, even if you personally reject or refuse to embrace its principles and precepts, and yes, ideally people, especially those who reason, would be expected to be motivated by superior moral sentiments and character than solely "fear of the law or the state", regardless, this is what it is.
Much as the law and its philosophy allows a person to be a bad person 'in private' or on a personal basis so long as they don't fall outside the line of the 'rules' and so forth. which sadly is likely the case in many, as per psychology such as the "Stanford Prison Experiment", which illuminated how people without a higher purpose or, contemporary 1st world sense of morality would be likely to do or engage in evil or illegal actions, such as torturing inmates if directed to do so by an "authority" figure, such as a death camp guard (may not even possessing the bare basics or rudiments of etiquette, even that which a small child would be expected to know or 'pick up on', let alone anything resembling contemporary moral philosophical inquisitiveness, character, wisdom, and so on and so forth, whether one picks a specific nation, such as America, or Britain, or broader and more overarching moral, theological, or philosophical principles and so forth.