na rodhayati mam yogo na sankhyam dharma eva ca
na svadhyayas tapas tyago nesta-purtam na daksina
vratani yajnas chandamsi tirthani niyama yamah
yathavarundhe sat-sangah sarva-sangapaho hi mam
The Supreme Personality of Godhead said: "My dear Uddhava, by associating with My pure devotees one can destroy one's attachment for all objects of material sense gratification. Such purifying association brings Me under the control of My devotee. One may perform the astanga-yoga system, engage in philosophical analysis of the elements of material nature, practice nonviolence and other ordinary principles of piety, chant the Vedas, perform penances, take to the renounced order of life, execute sacrificial performances and dig wells, plant trees and perform other public welfare activities, give in charity, carry out severe vows, worship the demigods, chant confidential mantras, visit holy places or accept major and minor disciplinary injunctions, but even by performing such activities one does not bring Me under his control."
Srimad Bhagavatam 11.12.1-2