Bless, it's so hard to be a parent, and we take all their actions as a reflection of us.
It's not the case at all, I had one 'difficult' child and one which was heaven sent.
If I'd had the second one first, I would probably be one of those parents who thought that their parenting skills were amazing and I'd be tempted to judge and look down my nose at those whose kids were badly behaved.
I tried so hard with my first, much much harder than I did my second, I tried to do everything right. And they were just difficult and I often felt embarrassed of their behaviour.
Now the oldest is bigger, their brain is maturing and life is giving them the odd kick which they are responding to far more than they ever did to my guidance or advice.
Sometimes, just because you are their parent, it doesn't mean they copy you or do as you say or behave as you want. Kids are surrounded by family, friends, teachers, social media etc and they'll take from the external environment anything they want. The part you play gets smaller as they come of age and they make their own choices. Then life gives them a kick and hopefully they start responding and over time becoming more rounded.
Fingers crossed your kids brains mature quickly, and if they don't and they do end up being people with characteristics you don't like, it's not your fault, it's their choice, they have free will.
When they need you less, spend more time doing things you love with people you love and be there for them and you can't do any more than that x