Stop asking “why is she your friend,” and just drop her yourself. It’s obvious she’s gonna stick around even if her envy is dictating a lot of her negative behavior in your friendship, so you have to be the one to cut her off(or heavy distancing w boundaries ig). Otherwise else you’re doing yourself a disservice because you know she’s going to be a bad friend to you.