Nothing you say is wrong, but it's somewhat tangential to what the parent is saying. If someone is saying things to you with the intention of hurting you, you should do whatever you can to minimize interactions with that person; break up with them, try to get them fired, try to switch teams, get a new job yourself, or whatever. This does not contradict the idea that you can learn from people who aren't trying to help you, though.
Of course, the dangerous part is that you may learn the wrong thing. Extracting constructive feedback from criticism that was not intended to be constructive requires a certain level of self-confidence and psychological safety that's only possible when it's an unusual event rather than a continuous drag on your self-worth.
Of course, the dangerous part is that you may learn the wrong thing. Extracting constructive feedback from criticism that was not intended to be constructive requires a certain level of self-confidence and psychological safety that's only possible when it's an unusual event rather than a continuous drag on your self-worth.