Times have changed a lot. Your advice might have applied as late as the mid 1990’s, but not much past the turn of the century.
In hindsight, boomers had a really easy time of it, even some we rightly revere for their contributions. Work hard, or be brilliant, or some combination of the two. That’s not enough today. Ken Thompson told the story somewhere of being literally chased down the east coast after graduation by Bell Labs recruiters. That would never happen now.