Srimad Bhagavatam Canto 11, Chapter 18, Text 22

SB 11.18.22

anviksetatmano bandham
 moksam ca jñana-nisthaya
bandha indriya-viksepo
 moksa esam ca samyamah
 
Translation: 
 
By steady knowledge a sage should clearly ascertain the nature of the soul’s bondage and liberation. Bondage occurs when the senses are deviated to sense gratification, and complete control of the senses constitutes liberation.
 
Purport: 
 
By carefully understanding one’s eternal nature, one will not again be bound up in the shackles of material energy, and by constant engagement in the service of the Absolute Truth, one is liberated. Then the flickering material senses can no longer drag one into the false consciousness of being a material enjoyer. Such steady sense control gives one relief from the harassment of material sense gratification.
Srimad Bhagavatam Canto 11, Chapter 18, Text 21
Srimad Bhagavatam Canto 11, Chapter 18, Text 23