You are right. After he made that statement, he said "Go and sin no more."
Hello Miss Marple!
Here is the context.
But when they persisted in asking Him, He straightened up, and said to them, "He who is without sin among you, let him be the first to throw a stone at her."
Again He stooped down and wrote on the ground.
When they heard it, they began to go out one by one, beginning with the older ones, and He was left alone, and the woman, where she was, in the center of the court.
Straightening up, Jesus said to her, "Woman, where are they? Did no one condemn you?"
She said, "No one, Lord." And Jesus said, "I do not condemn you, either. Go. From now on sin no more."
Then Jesus again spoke to them, saying, "I am the Light of the world; he who follows Me will not walk in the darkness, but will have the Light of life."
When I read such words, tears come to my eyes, and I wonder that our churches aren't overflowing with people. We have such a marvelous faith.