Need advice for my best friend

So my best friend of 10 years has always been a little boy crazy. Ever since I met her she falls hard and fast for guys. In hs she was a little overweight and I know her self esteem was low and she would chase after anyone and everyone. Well she went off to college to become a vet and i know vet school is very chaotic and stressful. She ended losing a huge amount of weight and started feeling better about her self. I always tried to give her the best advice I could whenever she’d meet someone new but again she falls fast and hard and became super clingy instantly and usually that’ll scare a guy away. She would never take my advice seriously and continue to do what she wanted.

Well about 2 years ago she came back to our home town during alumni weekend (it’s a big party for our town) and she was flirting hardcore with this well known guy (small town, everyone knows everyone) who’s married and has 2 kids. The guy was drunk and was flirting back a little bit but we kept telling my friend to stop and that she didn’t want to put herself in that type of situation. She eventually agreed, apologized to the guy when she was sober and left it at that. She would randomly talk to him from time to time but it was always just friendly (I still never really approved did it)

Well she’s in very stressful time during her schooling and she got a little drunk tonight and decided to call this guy and his wife ended up answer the phone (the wife has a suspicion and does not like my friend at all-but I can totally understand her feelings) my friend instantly texted me and told me about the awkward phone call and I straight up told her, long story short, you are acting like a home wrecker, you are creating this reputation about yourself in a town that you eventually will be around to try and start you career, you need to delete this guys number instantly, and quit talking to him completely.

She got defensive and told me that I don’t understand what it’s like to be alone (she’s 25, still a virgin, never really has had a bf because of her “clinginess”). And she’s right, I don’t know what it’s like. I’ve been with my husband since I graduated high school and have 2 kids with, but she instantly looks at my life and thinks she wants that right now too. I keep telling her she needs to focus on her schooling and career before she even tries to commit to a person, but nothing I say seems to work. I need advice. What else can I say to this girl?? I love her and I know she has a good heart but she just wants it so so bad that she’s destroying all possibilities at the same time.

***Edit- just to answer and clear up a few things, she had a great childhood. Her parents did divorce when she was little but she’s never had an issue with it. Her parents are very well off and pay and do everything for her. All she has to worry about it making it through school and her dad and mom pay for her house, food, gas, bills, etc.

Her and my husband don’t get along at all. My husband hates how immature and childish she acts and calls her out for it a lot which upsets her 🤷‍♀️

And lastly, we haven’t talked for the last 4 months. We got in a huge fight because she overreacted about something I did and we just didn’t speak. During that 4 months it was honestly so peaceful and drama-free. She just recently ended up coming over and apologized for her actions so I forgave her. But now we’re back to the same old “poor me” story and then she gets mad when I don’t say what she wants to hear.