I think "don't take other's advice" is just good advice in general, or at the very least "be skeptical of other's advice". I work in academic science where a lot of people of varying career stages are squished together in close proximity, and I encounter many situations where inexperienced and not that successful people are way too willing to shower even less experienced people with advice on how to live/do things. This seems to be the most common with graduate students talking to slightly newer graduate students. It's self-affirming for most people to give instructions and feel like they are being listened to, and I too often see this impulse outweighing the idea of the advice actually being useful.
For me personally, two things that determine if somebody is in a position to give me advice are:
1)Are they enjoying a level of success that I would like to achieve? 2)Is the environment in which they achieved success comparable to my own?