Right on. Seems a lot of Christians forget the judge not part.
Matthew 7:1-3King James Version (KJV)
7 Judge not, that ye be not judged.
2 For with what judgment ye judge, ye shall be judged: and with what measure ye mete, it shall be measured to you again.
3 And why beholdest thou the mote that is in thy brother’s eye, but considerest not the beam that is in thine own eye?
You might want to Google “most misquoted verse of the Bible.”
The Bible instructs us to judge from cover to cover. Its the whole point.
5 It is actually reported that there is sexual immorality among you, and of a kind that even pagans do not tolerate: A man is sleeping with his fathers wife. 2 And you are proud! Shouldnt you rather have gone into mourning and have put out of your fellowship the man who has been doing this? 3 For my part, even though I am not physically present, I am with you in spirit. As one who is present with you in this way, I have already passed judgment in the name of our Lord Jesus on the one who has been doing this.
We are not to be hypocritical. When we've removed the beam from our own eye, then we can remove the splinter in our brothers. (Matthew 7:5) We can and should judge "righteous judgement". (John 7:24)
The John 8 story is often misunderstood. The woman was alegedy guilty of adultery, but the law had to be followed to the letter. See Leviticus 20:10ff. Both the adulterer and adulteress are to be put to death. Since she was caught in the very act (John 8:3), where was the man? Where were the accusers? Were they sinless IN THIS MATTER? (Obviously not, since the man was absent and the witnesses were caught in criminal misconduct which would have resulted in their stoning--such is the penalty for bring a false charge.)