We often hide our mistakes
from other people because we worry they will think less of us once they’ve seen that we’ve messed up.
But, frankly acknowledging your mistakes, apologizing for them, and then earnestly working to make things right almost always has the opposite effect – people respect you for it.
There might still be consequences, of course, but people will appreciate your honesty.
If they use your confession as a way to belittle and use you, those are probably not the kind of people you want to work/live with anyway.
It’s actually when you hide your mistakes, and they’re found out anyway, that people lose their respect and their trust in you.