(1) Before the soul is blown in the foetus, the angels with the order of Allah write how much livelihood it shall receive. One does not die until one receives the livelihood fixed for him by Allah. The angels also write that when and where one is going to die i.e. the age of this person and the place of his death, whether one will be righteous or unrighteous i.e. will one become fortunate by doing good deeds or unfortunate by doing wrong deeds.
(2) There is no harm to go through lawful Amaliyat in order to protect oneself from the effect of evil sprit or for prosperity in business and for getting employment. The said amal is lawful and right. We are asked to keep aloof from unlawful and shirkiya amaliyat (denoting association with Allah). Also, the lawful amaliyat only should be adopted considering them a source of cure, it is wrong to consider them effective per se. It is only Allah Who creates effects in things.
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband