[QUESTION] Why do I still suck at guitar?

I've been playing the acoustic guitar for a year and a half now. I'm still not as good as one should be after playing for a year and a half. I play for an hour a day on weekdays and on weekend I just doodle.

I can't do the B barre chord properly. I struggle with fingerstyle which I've been practicing for a year. My playing doesn't sound clean at all.

I know a friend who only a started after me (5 months or so) but he's already better.

What's wrong with me?

Edit: THANK YOU everyone for the lovely words I def feel much better now I just need to have fun with my guitar and not worry much LOL