Granted it was Jesus who said it, but He did give us a test -
you will know them by their fruit.
Around here, if a “weaker brother” sees me lift a beer to my lips, he’s “judging me by my fruit” that I am a non-Christian.
Thing is, it is also said, “judge not, lest you be judged”.
judge not, lest you be judged BY THE SAME MEASURE.
That’s the important part.