Matthew 7:1 forbids hypocritical, self-righteous condemnation, not righteous discernment grounded in truth, humility, and mercy.
Updated American Standard Version
Giving Bible readers what God said not what translators think God meant
Matthew 7:1 forbids hypocritical, self-righteous condemnation, not righteous discernment grounded in truth, humility, and mercy.