In this retributive rather than restorative culture where punishment is the first line of defense, it makes sense that you’ve internalized punishment as your first line of defense against the qualities you don’t like seeing in yourself. What does not make sense is for you to continue using punishment as an agent for positive change.