Are you saying that Jesus said the Bible was wrong? Jesus disagreed with the Bible? Didn't the people correctly quote the chapter and verse?
Judging, in the sense of judging whether someone is bound for Heaven and Hell, is God’s domain.
Judging someone’s actions as right or wrong (and calling them out on it), on the other hand, is perfectly Biblical.