A narcissistic person can't stand to see you succeed or be happy without them.
Because your happiness without them exposes what they can no longer control. And to them, that feels like failure. A threat.
So they rewrite the narrative: "They only have that because of me."
Or they try to undermine you, discredit you, or sabotage you just to regulate their own discomfort