What must be considered is that although the Scriptures were not the first record to be written, they are the only record of the Creator and his dealings with humanity.
People prior to this were ignorant of creation. And construed how things came into being, accrediting much to imagination, thereby creating their own deities.
Now I am not opposed to any law in the Torah, every law given is of value to get an understanding.
A person must look at all the laws and consider where they can be applied.
What you and others fail to understand is that many laws apply to the people living in Israel at a time when there were many so called cultures and practices that Yahweh hated.
As a result, laws were given to prevent the Hebrews form imitating those customs.
(Deu 12:1 These are the decrees and laws you must be careful to follow in the land that the LORD, the God of your fathers, has given you to possess—as long as you live in the land.
Deu 12:2 Destroy completely all the places on the high mountains and on the hills and under every spreading tree where the nations you are dispossessing worship their gods.
Deu 12:3 Break down their altars, smash their sacred stones and burn their Asherah poles in the fire; cut down the idols of their gods and wipe out their names from those places.
Deu 12:4 You must not worship the LORD your God in their way.
Many of the laws that are evident today supersede the structure of the Torah—
For instance hygiene, but there are many ignorant people who still do not apply the basic laws of Torah. So, there is an ongoing attempt to educate people.
The slaughtering of animals which imposes a health risk is still in practice.
So in every way people exceed the demands of Torah or are still outside the basic laws.
An attempt to contact the dead is still a custom that is still practiced with the many ritual practices involving ritual customs which are unlawful, even to the point of using body parts.
As I have stated, every law has significance.
So TODAY the first stage is to consider the marriage covenant and the food stipulation.
Other laws of the land can serve as a guide to lawful responsibility.
But when dealing with ignorant people, the Torah laws can produce a standard for living.
So, the Torah is a guide to making laws—but the very basic laws have been abolished by the world today, that being holy matrimony and justice in dealing with crime.
So again the Decalogue is the pivotal consideration for the FAITH.