Your child is fairly certain to act like a child, which means someone who is still learning, has different priorities than you do, and can’t always manage her feelings or actions. Her childish behavior is guaranteed, at times, to push your buttons. The problem is when we begin acting like a child, too. Someone has to act like a grown-up, if we want our child to learn how! If, instead, we can stay mindful—meaning we notice our emotions and let them pass without acting on them—we model emotional regulation, and our children learn from watching us.
https://www.peacefulparenthappykids.com/read/peaceful-mindful-parenting