I had someone say something similar to me once. It hurt deeply because I liked her a lot and she knew it.
But just know people like this are trying to be as mean as they can be and sometimes they know what to say to cut you deep. Whether it’s true or not, they know what hits you in the deepest part and they’re trying to inflict damage on you. It’s like a military general picking an area with the most people to bomb because that is precisely where it will cause the most damage.
Don’t pay it any mind. Ignore it. Move on from it. Move on from her. She’s toxic for saying that and not worth your time or just you giving her a thought in the day.
People like this are often miserable and they want to bring someone else down to their level. Don’t let them. It hurts, but try to move on the best you can. That’s the best way to deal with people like this.
The woman who said the similar things to me is now in a very lonely place, herself. After years of letting her step on me and berate me and use me, I finally left her. I realized she needed me more than I needed her and I was ready to find someone who would actually value me for me and not belittle me while relying on me so heavily. She actually reached out to me a few years later to tell me her mom passed away. I didn’t laugh in her face or say anything mean, but it made me realize that she’s lonely and I’m likely the only person she felt close to, to talk to in her grief.
Say all that to say…hang in there. Sorry she said these mean things to you and it cut as deep as it did.
Try your best to move on and rise above it. Don’t dwell on it. Find people who will value you and not belittle you. Realize she’s likely miserable and taking out some of that on you. You can be sympathetic by walking away and letting her be miserable by herself until she matures and doesn’t treat others like this.