1 John 1:9 (Amplified Bible)
If we [freely] admit that we have sinned and confess our sins, He is faithful and just (true to His own nature and promises) and will forgive our sins [dismiss our lawlessness] and [continuously] cleanse us from all unrighteousness [everything not in conformity to His will in purpose, thought, and action].
Why do we hide? We do not want others to know our faults. We worry that we will be looked down on. That others will criticize us. One person we need not hide from is God. The above verse encourages us not to. What makes us beautiful in God's eyes is daily relying on Christ's death on the cross. Freely confessing our sin. When we do this, God is faithful to forgive us, cleanse us and we draw closer to Him.
None of us is perfect, if we were then Christ would not have come. Lets stop pretending to be perfect, doing so is pride in action. Let us humble ourselves by confessing our sin and letting Christ cleanse us.