Legally; Jesus could NOT condemn her.
He was NOT a witness to the 'alleged' act.
Deuteronomy 19:15 NIV
One witness is not enough to convict anyone accused of any crime or offense they may have committed. A matter must be established by the testimony of two or three witnesses.
John 8:9-11 NIV
9 At this, those who heard began to go away one at a time, the older ones first, until only Jesus was left, with the woman still standing there. 10 Jesus straightened up and asked her, Woman, where are they? Has no one condemned you?
11 No one, sir, she said.
The point is he told her to sin no more. He addressed her sin and held her accountable to stop it.
Luke 11:17
17 Jesus knew their thoughts and said to them: "Any kingdom divided against itself will be ruined, and a house divided against itself will fall."
NIV
But the omniscient, thought knowing, Creator of the Universe in temporal form - was not a witness, you say?
John 4:17-18
17 "I have no husband," she replied.
Jesus said to her, "You are right when you say you have no husband. 18 The fact is, you have had five husbands, and the man you now have is not your husband. What you have just said is quite true."
NIV
Seems to have witnessed those 5 husbands.
Anyhow -
=================
17 Jesus said to his disciples: "Things that cause people to sin are bound to come, but woe to that person through whom they come. 2 It would be better for him to be thrown into the sea with a millstone tied around his neck than for him to cause one of these little ones to sin. 3 So watch yourselves.
"If your brother sins, rebuke him, and if he repents, forgive him. 4 If he sins against you seven times in a day, and seven times comes back to you and says, 'I repent,' forgive him."=================
Rebuke. Repent. Forgive.
What does this mean?