Should I be upset?

The other day I said to my boyfriend aw least your mate has met me now we have only been together a few months he turned round and said yeah I can say your from Thailand and had the op he try’s to joke but I made it known that comment was shitty and I feel cause he’s insecure in himself he tried to make me feel shit
Should I be upset?
Post Opinion