Why settle?

I was recently rejected by a man who I knew was not compatible for me, yet I still let it mean something about me. I think it brought up a lot of old patterns. I know he can’t reject me, none the less it hurts. I know that the relationship is complete but I can’t seem to shake the negative thinking. Help.