John 3:21 But he that doeth truth cometh to the light, that his deeds may be made manifest, that they are wrought in God.
On the other hand, when a person has some wrong to hide they often get nervous, agitated, uneasy and angry when the truth, and facts relating to the case in particular are coming due to be exposed. Now, it is true that all have sinned and come short of the glory of God, and yes, there would be some cases where there are skeletons in your closet, sins in our past life that persons prefer to keep secret.
God makes allowance for this, for Jesus is not in the business of embarrassing His saints into confession. Yet, He desires that as we grow in grace, reflecting His character, that the doings of bygone years be a thing of the past. And even more so, because we are now at a critical juncture in the history of the world, where there is a profusion of coverups, and miscarriages of justice, it is now more important than ever before that folks come clean as it were, living in the light of day.
Now, it is an indisputable fact that public servants who are vying for the public trust may try to dig up dirt on each other, and yes, there is something that is called opposition research, by which deeds done by one person in the past will be employed in mud- slinging. No one is perfect before God, for we have all made our share of mistakes, however, in cases where we may have issues that we prefer to keep secret, folks should confess to God and to our fellow man where it is warranted before we are shamed into doing so.
James 5:16 Confess your faults one to another, and pray one for another, that ye may be healed. The effectual fervent prayer of a righteous man availeth much.
May God add His blessing to the study of His word. “Good night” and God bless!