(Please note edits above. Also... I know it is a bit off subject, but it is to answer a question by another poster)
WHY DID GOD HAVE PEOPLE STONE OTHER PEOPLE TO DEATH?
Basically, such harsh judgments were a deterrent, and a means to literally keep sin out of Israel by removing the sinner.
DID IT WORK?
No -and yes. It -in itself -did not bring Israel to perfection -but it was not meant to.
It was a first step in a process of bringing
everyone to perfection (even those stoned to death) -a process which is not complete until after death -after some things which happen after death -and after all human history (as declared from the beginning) has been accomplished.
IT DID NOT MAKE ISRAEL PERFECT -ISRAEL REJECTED GOD -HOW WILL IT HELP MAKE EVERYONE PERFECT?
What it did do was keep Israel free from other influences long enough for God to work with some people who were willing to follow his laws. This does not mean they viewed those harsh judgments under the law as "perfect" -but they understood that God would provide somehow, and make all things right in the end.
They understood that obeying God's law produced good -and that removing those bad influences made it less likely that some would be taught error which could lead to their death -or spiritual harm and misery.
It was not an enjoyable thing for any -these were their family members and countrymen being put to death.
However, it kept certain influences from the population long enough to work with those willing -and also to lay the foundation which would prepare many of that people for what was to happen next. It allowed them to become of a certain overall mindset which was necessary for the next stage of the overall plan -the new covenant -which was not focused on keeping a physical nation free from sin in the letter of the law, but focused on many individuals of that nation -then beyond -keeping spiritual sin from themselves -from their own spirit and so from the world -by coupling their spirit with God's own holy spirit, which empowered them to truly understand spiritual righteousness and overcome spiritual sin.
That all would not have been possible if sin had not been literally kept from among them in the past. People have to be of a certain mindset before being granted a godly spirit of "power, and of love, and of a sound mind" would do any good.
SO.... SOME GET STONED TO DEATH BECAUSE GOD SAID SO, AND LATER SOME WHO DO THE SAME THINGS GET LOVED AND FORGIVEN BECAUSE GOD SAID SO. HOW IS THAT FAIR? IS GOD INDECISIVE?
It is important to note that God is not calling all of humanity during this time. What he is doing is making up the "first fruits" who will be a literal government and priesthood on earth under God and Christ when Christ returns.
What will be set up later as a result of what has been WILL be able to bring all to perfection, when they are resurrected into that different situation -having a different mindset partly due to seeing that situation is a reality -that God is a reality. Some are first, then they are used to bring the others along -including those once stoned to death.
Rev 5:9-10
And they sung a new song, saying, Thou art worthy to take the book, and to open the seals thereof: for thou wast slain, and hast redeemed us to God by thy blood out of every kindred, and tongue, and people, and nation;
And hast made us unto our God kings and priests: and we shall reign on the earth.
The old covenant and then the new covenant were both different stages of the plan.
Once those first fruits (remember they chose to obey God and others chose to do otherwise -though many who think or say they follow God actually do not -and others chose various other alternatives or never had a choice due to ignorance of God and were not yet called) are made immortal and begin to reign on earth with Christ -and the remnants of the earth's human population (after being decimated by what would essentially called WWIII) repopulate during the next thousand years -the next stage of the plan will be accomplished.
At that time -after the thousand years -every "man" since Adam who has ever lived will be raised from the dead and judged according to their works.
That includes all who were stoned to death, regular people, villains, etc.... -basically, everyone who was not "in Christ" at his return and made immortal at the first resurrection.
Some will receive life then -some will be saved "though as by fire" if necessary -and those who utterly refuse can be completely destroyed in "Gehenna" -the "lake of fire".
There is hope for all who choose it and are willing to do good and to respect the necessary government of God.
Then all will live under God, Christ and the government he created of men and then made immortal -but it will not be as human governments. God's government will serve -it will not see to its own needs and wants at the expense of the governed -it will eternally be of benefit to them
What has been in the past was necessary for that future to be possible.
We chose -and would have chosen, and essentially did continue to choose -to go our own ways, which inevitably made a mess of things. Therefore, God had to make necessary -sometimes very harsh -judgments to bring all things again to order -and God will not only bring all of us back around to do the right things, he will raise us from the dead and repair all damage -even renewing and resurfacing the earth again.
Then we can create throughout the universe without conflict and misery.
We will TRULY do as we will so long as it harms no one -knowing that the government of God is necessary for that to be true.
Then the former things will no longer be called to mind or remembered.
All will have everything eternally -and be quite happy -and what was lost in this time will be insignificant.
Isa 65:17 For, behold, I create new heavens and a new earth: and the former shall not be remembered, nor come into mind.
Isa 45:18 For thus saith the LORD that created the heavens; God himself that formed the earth and made it; he hath established it, he created it not in vain, he formed it to be inhabited: I
am the LORD; and
there is none else.
Phil 3:21 Who shall change our vile body, that it may be fashioned like unto his glorious body, according to the working whereby he is able even to subdue all things unto himself.
The following is addressed specifically to those of Israel who have not known God or lost hope in God, but the same generally applies to all. (Some are raised human again before eventually becoming immortal)
Ezekiel 37
…
12"Therefore prophesy and say to them, 'Thus says the Lord GOD, "Behold, I will open your graves and cause you to come up out of your graves, My people; and I will bring you into the land of Israel.
13"
Then you will know that I am the LORD, when I have opened your graves and caused you to come up out of your graves, My people.
14"I will put My Spirit within you and you will come to life, and I will place you on your own land. Then you will know that I, the LORD, have spoken and done it," declares the LORD.'"
So -while it is understandable that everyone is in their present state of understanding, attitude, belief and being, things will happen to make all see things correctly.
We don't have to understand it -we don't have to like it -we certainly aren't going to like much of what happens in the meantime -but it is what is happening, and it will happen.
As written... "It is an irksome task men have been given to do under the sun",
but in the end we will all understand that no alternative is worth comparing to the results.
It will be awesome -and totally worth it all.
It is understandable that some do not believe it now, but it will still happen to them.