You seek to muddy the waters by implication.
1.Hammurabi's Code was "tainted" with polytheism and this makes it "inferior" to the Law of Moses seems to be what you are asserting.
Early Semitic religion was just as polytheistic as the surrounding areas. "Let us make man in our image...."
Elohim is plural. (Not the plural of excellence.) EL was god. Even the name Allah is a variant of El. (El-ah)
The convergence of Semitic religious views with Egyptian religious exposure produced modifications in the way the emerging tribes considered their specific tribal El. (Remember too that Ahkenaton was a monotheist pharoah).
The transformation of Semitic/Jewish religion can be seen even in the name of Moses.
Moses is an Egyptian religious name.
The name
Moses is related to common Egyptian names like Amenmose, Ramose and
Thutmose,* which are formed of a god’s name followed by mose.5 These
compound names mean something like "Amen is born" or "Born of Amen" or
"The offspring of Ra" or "The child of Thoth." When the name Mose
appears by itself, as it occasionally does in Egyptian, it simply means
"the Child" or "the Offspring."6 But in Egyptian, Mose most frequently
appears along with the name of a god as part of a compound name.
Most likely of all, the name Moses (assuming that he originally had a
longer name) is short for Ramose, a popular name related to the name of
the reigning pharaoh, Ramesses II.**—would also mean "Ra is born," but
his name is normally written R‘-ms-sw (roughly, Ramessu) and means
"Ra-fashioned him," using another meaning of the verb msi, that is, "to
fashion, form." The two senses of the verb are related, however, in that
Egyptians thought of the fashioning of a divine statue as equivalent to
the god being born.) It was a common custom among the Egyptians to
rename foreign slaves or captives after the pharaoh. ( edofolks.com)
2.
Thus, whereas Hammurabi’s “Law Code” creates a sort of direct covenant between Hammurabi and his human subjects, the laws of the “Decalogue” create a direct covenant between God and his human subjects.
Then why are we calling it the Mosaic Law or the Law of Moses in the same way we are calling it the law of Hammurabi?
3.
The arrangement of the “Decalogue” suggests that the most important relationship human beings have is not the relationship they have with other human beings, but instead the relationship they have with God. Intentionally or inadvertently, Hammurabi’s “Law Code” neglects to discuss the relationship between human beings and the polytheistic gods identified in its introduction, and focuses entirely on how humans should conduct themselves vis-Ã -vis other human beings.
Hammurabi's code is secular in purpose and intent. As such it was highly practical for adjudicating.
The Moses-attributed version is ONLY practical in its secular section. It is the religious portion of this law which causes all of the legal problems in current modern day society! This makes Hammurabi's Laws a better foundational underpinning for modern law than Moses bifurcated version.
If your post was intended to make the Bible version of God's "perfect" law shine in contrast to Hammurabi's Code; it has failed miserably to produce that effect.