If we resemble Jesus enough to allow the woman of ill repute to break the bottle of perfume at His feet (Luke 7:36-50), soon others like her will be lined up around the block, each bearing their own bottle of perfume to break as they cry their hearts out for gratitude at the mercy of Jesus we are showing them.
If we are instead like the Pharisees who are around Jesus trying to prevent the woman from approaching Him and breaking the bottle, others who may have brought their own bottles to break will learn that they will be shamed if they do so. They will keep those bottles hidden and, perhaps, stop coming altogether.
If we receive the broken and the breakers, the wounded and the wounders into the church with the mercy of Jesus, soon word will get out and others will come bearing their own sins and wounds and brokenness, knowing that here is a place where they can receive healing and forgiveness.
If we insist on public shaming of the broken and the breakers, public condemnation of church leaders who “fall” or “fail,” soon word will get out and others who have their own sins and wounds and brokenness will learn to keep their sins and wounds and brokenness to themselves. The church will not be a safe place for them to be, and eventually, perhaps, they will stop coming altogether.