Everybody believes that they are always right and to prove ourselves right and others wrong we go the extent of hurting ourselves badly.
We forget that it is not about who is right, it is about what is right for everybody? So focus your energy on doing the right thing.
We all make mistakes and we all fail in certain ways that is how we learn in life. This is how we gain knowledge, skill, expertise and experiences to grow and make better decisions in future.
When we accept that there is a problem instead of ignoring the truth and hiding the mistake, we take our first step towards solving it.
Remember, to change you have to accept that you need a change, without acceptance there always be resistance and resentment which will harm you emotionally and shatter your ego badly.