Jesus said,"Condemn not unless you be condemned"
It is written:So when they continued asking him, he lifted up himself, and said unto them, He that is without sin among you, let him first cast a stone at her. And again he stooped down, and wrote on the ground. And they which heard it, being convicted by their own conscience, went out one by one, beginning at the eldest, even unto the last: and Jesus was left alone, and the woman standing in the midst.
When Jesus had lifted up himself, and saw none but the woman, he said unto her, Woman, where are those thine accusers? hath no man condemned thee? She said, No man, Lord. And Jesus said unto her, Neither do I condemn thee: go, and sin no more. John 8:7-11
Jesus was not only showing the pharisees how hypocritical they were but giving them a message, do not condemn her, unless they all are to be condemned, so in actuality HE{Jesus}was granting them{Pharisees} mercy.
So in return they themself can show mercy unto others!, so they in return will not be condemned. God granting mercy to the hypocrites.
Moses spoke about stoning an adulterer and Jesus who came to fulfill the law spoken by moses said,"Condemn not unless you be condemned"
OT GOD{Same God of NT} said unto Moses to stone the adulterers, now did God change His mind?
NO! If one knows God, then one would know that Jesus{GOD}came to point out that even they who knew exactly the law that was given unto moses by God were blind to the fact that they were filled with sin and were hypocritical, after all the years past since moses to Jesus, they were blind to realise it that they who were filled with hypocrisy FROM WITHIN had no right to condemn anyone.
Condemn not unless you be condemned!
God Bless!