Srimad Bhagavatam Canto 07, Chapter 02, Text 22

SB 7.2.22

nitya atmavyayah suddhah
 sarvagah sarva-vit parah
dhatte ’sav atmano lingam
 mayaya visrjan gunan
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
The spirit soul, the living entity, has no death, for he is eternal and inexhaustible. Being free from material contamination, he can go anywhere in the material or spiritual worlds. He is fully aware and completely different from the material body, but because of being misled by misuse of his slight independence, he is obliged to accept subtle and gross bodies created by the material energy and thus be subjected to so-called material happiness and distress. Therefore, no one should lament for the passing of the spirit soul from the body.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Hiranyakasipu very intelligently described the position of the soul. The soul is never the body, but is always completely different from the body. Being eternal and inexhaustible, the soul has no death, but when the same pure soul desires to enjoy the material world independently, he is placed under the conditions of material nature and must therefore accept a certain type of body and suffer the pains and pleasures thereof. This is also described by Krsna in Bhagavad-gita (13.22). Karanam guna-sango ’sya sad-asad-yoni janmasu: the living entity is born in different families or species of life because of being infected by the modes of material nature. When conditioned by material nature, the living entity must accept a certain type of body, which is offered by nature under the direction of the Supreme Lord.
 
isvarah sarva-bhutanam
 hrd-dese ’rjuna tisthati
bhramayan sarva-bhutani
 yantrarudhani mayaya
 
“The Supreme Lord is situated in everyone’s heart, O Arjuna, and is directing the wanderings of all living entities, who are seated as on a machine, made of the material energy.” (Bg. 18.61) The body is just like a machine, and according to the living entity’s karma, he is offered a particular type of machine to move here and there under the control of material nature. This continues until he surrenders to the Supreme Personality of Godhead (mam eva ye prapadyante mayam etam taranti te). Until he surrenders, the conditioned soul is carried from life to life by the arrangement of material nature.
Srimad Bhagavatam Canto 07, Chapter 02, Text 21
Srimad Bhagavatam Canto 07, Chapter 02, Text 23