As imperfect humans, we at times, show pride. There's a kind of positive pride like when parents take pride of their child's success. It can boost the confidence of your child. But it's not the negative kind of boasting. It means you are taking delight of your child's fine works.
However, there's the negative kind of boasting and bragging. That's the absence of humility. When you brag about anything you have, you might looked down at other people. You think you are superior than the others.
When bragging, we are not showing love because love is not bragging. Humility is important that it can build love.