My boyfriend just told me that he thinks my sister is hotter than me, what do I do?

My younger sister by one year is more attractive than me, and I am aware of that.
I've never been beautiful, I'm just average looking. Like a 5/10. My sister is a 9/10. You know she is every guys dream (or well almost every guy's dream) She has blonde long hair, big blue eyes, thick eyelashes, she's short, she has a strong jaw, a perfect side profile, a beautiful face overall, she has round glasses, she is pale, she has huge glutes, huge breasts, she's caring, sweet, confident, feminine, she dresses feminine, she is an artist (she draws, and she's really good at it. VERY TALENTED) and so on! I have long dark brown hair, glasses, I'm pale and average in height. Nothing special about my looks.
Ever since I was little so had every guy I ever liked ALWAYS liked my sister first. They always told me that they liked my little sister first because of how beautiful she is, but that they later fell for me because I have an "awesome" personality according to them. Of course it makes me happy that people like my personality! But it just makes me really insecure and sad when people compare my looks to my younger sister who is more beautiful than me. Like I know that she is prettier, people don't have to tell me the same thing over and over again. I feel very ugly physically.
My boyfriend fell in love with me for the same reason, he said that my personality is the best one he has ever came across. But today he told me that he ALSO liked my sister first. He also told me that she is twice as beautiful as me, and that if she had my personality he would date her instead.
I've been crying about this for the past 2 hours, I just don't understand why he had to tell me that. I think this is a red flag, right? I know I should probably leave him, or else maybe he'll cheat in the future. But I really love him. Maybe I should talk about it first with him? I don't know, what do you guys think?
My boyfriend just told me that he thinks my sister is hotter than me, what do I do?
Post Opinion