I keep getting into situations in which people don’t see my worth? Am I doing something wrong?

I don’t know if it’s my attitude, or I just am unlucky and keep bumping into people who try to undermine my self worth. This happens in almost all areas of my life. Recent examples: I went through the recruiting process for a job I was really excited about. I felt like I was a good match for them and did receive an offer, but it was a terribly bad offer (20k less than my current salary), and when they communicated it to me they said “it’s much lower than your salary expectations, but it’s what we’d offer based on your profile and experiences”. That hurt. In my dating life, I often bumped into guys that I found great, and instead of just turning me down since the beginning, they first led me on for months only to let me know afterwards I wasn’t good enough for them. I always have the impression friends don’t really value me either, they often forget about me and in groups, I’m always made feel like I’m the last choice or the “spare” that doesn’t really need to be invited but if someone cancels, than I’m invited to fill his place.

am I doing something wrong…?

I keep getting into situations in which people don’t see my worth? Am I doing something wrong?
Post Opinion