Bhagavad Gita 2.22

वासांसि जीर्णानि यथा विहाय नवानि गृह्णाति नरोऽपराणि |
तथा शरीराणि विहाय जीर्णा नन्यानि संयाति नवानि देहि

Translation

As a person sheds worn-out garments and wears new ones, likewise, at the time of death, the soul casts off its worn-out body and enters a new one.