Ouch. Sorry you had to hear those things. That sure stings.
But I'll be honest. .. I don't think it was kind of this"friend" to tell you these things, And if it were me, I would avoid this person. I mean, who needs to hear things like that, even if they are "true"? Ugh. (And remember--believe none of what they say, or something like that)...
Please find someone or something to remind you of how wonderful you are... stat! (Seriously-- what did this "friend" say **after** the words, "he said she is better than you" ??)