I am aware of NO instance where the Bible condones covering up the improprieties of those who claim to be leaders.
In fact, the Biblical approach – Old and New Testament – is quite the opposite.
Furthermore, truly repentant leaders will not try to hide their leadership sins, but openly confess and publicly repent.
Absent that, they remain a danger to all …
Which is why 1 Thessalonians 5:19-21 specifically commands that church leaders who abuse their position must be investigated and publicly exposed as a warning to all.