Your glorying is not good. Do you not know that a little leaven leavens the whole lump?
Purging Instead of Praise
Therefore purge out the old leaven, that you may be a new lump, since you truly are unleavened. For indeed Christ, our Passover, was sacrificed for us.
Pure Communion with Sincerity and Truth
Therefore let us keep the feast, not with old leaven, nor with the leaven of malice and wickedness, but with the unleavened bread of sincerity and truth.
I Corinthians 5:6-8 NKJV
https://bible.com/bible/114/1co.5.6-8.NKJV
The Leaven Identified
The sin that riled up Paul was the fact that a local church permitted a man sleeping with his mother, probably still young and attractive, and still they treated him without reproof and without correction.
The thing that was needed was to remove him from church membership and treat him as though he was not saved. Then after working with the offender, they were to seek for his spiritual restoration. Though nothing is said of the mother, her guilt is just as wrong and to be treated the same, if applicable, though we might infer she was not as culpable. That is not really likely in our modern churches however!
This is what distinguishes a GOOD church which has character from any other kind. It also demonstrated that membership lists are to be kept and practiced in every local church.