I feel like I don’t deserve my friends

I have moved to a new school, and I knew people from there anyway so they introduced me to their friends. They’re all amazing people and I’m happy I’m friends with them, but I feel like I don’t deserve them.

It’s not just them, it’s all of my friends. I feel like they’re too nice to me and that I’m doing nothing in return and it makes me feel like an asshole. It makes me wonder why they are even friends with a mess like me and I even feel bad for them.

It doesn’t even have to be my friends, it can be family, and other things in general. I think I’m too worthless to have these things. Like, other people should have them instead of me.

Do other people feel this? How can I control it and make myself feel better about myself?