We can choose to be in the company of Adhama(Inferior), Madhyama(Intermediary) or Uthama(Superior). Our personality will reflect the company we keep.
Even at organizational level, potential successors for critical jobs are mentored and monitored closely by nobody less than the CEO. If you have to be like them, you got to think like them- is the objective of a good succession planning
Likewise,if we wish to live above the mediocrity then we need to seek Uthama Sanga. How do we do it? Seekers of such, needs to develop Satsangam. The power of Discrimination and the Freedom from Delusion only comes with Satsangam.
See how beautifully has Shakaracharya exalted the value of this association in his Bhajagovindam! (See the diagram below)
Satsangatvey Nissangatvam; Nissangatvey Nirmohatvam; Nirmohatvey Nischalatatvam; Nischalatatvey Jivanmukti
Our intellect would evolve further upon reflections and interactions with the wise. Also, we would start living like a Karma Yogi, the merits earned by living such a life will remove any possible roadblocks to the Ultimate.
Bhagavad Gita says the same in Chapter 10, Shlk 10
Karma yogi, who performs his/her work with Love, not only be Intellect evolved but also progresses on the path of self-realization to the Ultimate.