Source

After death, the soul goes to the next world bearing in mind the subtle impressions of its deeds, and after reaping their harvest returns again to this world of action. Thus, he who has desires continues subject to rebirth.
— Shukla Yajur Veda, Brihadaranyaka Upanishad 4.4.6