Seeking the company of good people will lead to detachment towards worldly things. Detachment will help overcome desires. Once desires are overcome, the mind becomes stable. When the mind becomes stable one can realise God in life.
(From the composition Bhaja Govindam of the Hindu philosopher-saint Sri Adi Shankaracharya)
(Transliteration:sathsangathvE nissangathvam nissangathve nirmOhathvam nirmOhathvE nishchalathathvam nishchalathathvE jIvanmukthihi)