Source

The mind alone is man’s cause of bondage or release: it leads to bondage when attached to the sense objects, and to release when freed from them.
— Krishna Yajur Veda, Maitri Upanishad