You don't need to be perfect to deserve a relationship. Anxiety makes you feel like you've messed up more than you have, but the right person accepts your real, messy self, not a flawless version of you.
You don't have to get a perfect score when it's the right person. Your anxiety, the emotion, is feeding on this idea that you screwed it up. Actually, when it's the right person, you don't need to get a perfect score. Not needing to get a perfect score might actually be much more of an indicator that you're with the right person than attracting someone. Because you got a perfect score on all of your behavior and didn't do anything wrong, and didn't put a single foot out of line, and never said anything stupid, or never pushed a little bit too hard in an area that your person is someone you don't need to have a perfect score with. Some messiness along the way can be part of you realizing you're with the right person, because the right person will make space for you for who you actually are.