CC Ādi 1.59
satsu sajjeta buddhi-mān
santa evāsya chindanti
This verse, which appears in Śrīmad-Bhāgavatam (11.26.26), was spoken by Lord Kṛṣṇa to Uddhava in the text known as the Uddhava-gīta. The discussion relates to the story of Purūravā and the heavenly courtesan Urvaśī. When Urvaśī left Purūravā, he was deeply affected by the separation and had to learn to overcome his grief.
It is indicated that to learn the transcendental science, it is imperative that one avoid the company of undesirable persons and always seek the company of saints and sages who are able to impart lessons of transcendental knowledge. The potent words of such realized souls penetrate the heart, thereby eradicating all misgivings accumulated through years of undesirable association. For a neophyte devotee there are two kinds of persons whose association is undesirable: (1) gross materialists who constantly engage in sense gratification and (2) unbelievers who do not serve the Supreme Personality of Godhead but serve their senses and their mental whims in terms of their speculative habits. Intelligent persons seeking transcendental realization should very scrupulously avoid their company.