When children feel a connection, they feel both a sense of belonging and significance. Often that is enough to correct/ stop/ redirect misbehavior. There is a lot of research which says that in order to influence children in a positive way, we first need to create a connection with them. We need to make sure that the message of love gets through. Fixing their mistakes or over-protecting or giving in to their demands are not means of creating connection. A few Positive Discipline tools to form effective connection are spending special time, hugs, truly listening, and sharing feelings and thoughts.
Once a connection is made, the child starts feeling belonged and usually opens up for effective and mutually respectful correction.
Rudolf Dreikurs explained in his book "Children: The Challenge" - “Children are good perceivers, but poor interpreters.”
So irrespective of the behavior and personality of the child, on one hand, connection creates a sense of safety, security and significance. This leads to more openness in the relationship. On the other hand, punishment, lecturing, nagging, scolding, blaming or shaming become counterproductive. Although we may have the best interests of the child in mind, being the poor interpreter that they are, children tend to close up, when faced with these methods.
Correcting misbehavior is needed, but the "how" matters a lot. The "how" determines whether the child feels empowered or discouraged.