In the Sufi cosmology your soul purpose is decreed before you’re even born!
The angels carry the spirit (or the ruh) to be joined with the physical and at that time (the same time the fingerprints are formed)– there comes the order from Allah, (God, Source, Creator, Divine Love) to the angels to write in the persons book of Life what is decreed for that person “Write down his provision, his action and his life-span Then He breathes from His Divine spirit into him”
“Then at the fourth month Allah (God/Source) sends an angel. The angel carries the person within his hands, and the angel asks his Creator if the piece of flesh (in utero) is shaped and formed yet. At this point Allah will answer and the angel receives the answer from the Allah/God/Creator. Allah confirms that it’s already formed and shaped. Then the angel starts to write the person’s life term, whether it will be male or female, and the provision that it will be given during his or her lifetime. The angel writes all of these things and then writes the deeds this individual will do. This is the decree of Allah, The Most High. Look at the creation. It’s so accurate, so precise, beautiful and perfect. (from “The Religion of Unity”, the Message of Peace, Love, Mercy Justice and Freedom, Shaykh Muhammad Sa’id al Jamal ar Rifa’i ash-Shadhuli)
“Know that the human spirit was created in the best of form, meaning with a predisposition to receive the divine overflowing without intermediary, and that the human is unique in this rank as compared to other creations. The spirit is accessed through the heart and soul and is beautifully reflected in the hand. In this world on earth, it is our hearts that contain this spirit and it is the closest thing in this existence to the Divine Presence.”
As my spiritual teacher likes to quote:
“Why do you think you are a small star when the whole universe is inside you?”