Difficulties, tribulations, and divine trials are among the divine traditions that come upon mankind to polish and remove the rust from the human heart, and considering the goals of creation, namely "human beings reaching perfection," they are a very necessary and divine matter. This weapon will cause continuity in the remembrance of God and strengthen the strength of resistance. If the true religion of a correct society is true, this resistance and perseverance resulting from the hardships encountered will have a kind of educational effect on individual humans and then on the entire society, including preventing foreign invasion. If at certain points in history, this land has been caught in this onslaught, it has been due to the lack of a correct definition of these hardships, the failure to utilize their results, and the failure to gain resistance and stability. On the other hand, the oppression of the rulers of the time has also tormented the people. If we add to this the thought of fatalism, which was one of the religious beliefs of the Iranians at that time, the result is a lack of comprehensive defense, resistance, and perseverance, and this is what happened. In this article, in addition to examining the thinking style of the author of the book Nafsah al-Masdur, the effects of the hardships and divine trials that she faced in her era and mentioned in the lines of her book are compared with similar cases in the Quran and Sunnah in order to explain the effects and reasons for the trials and hardships encountered and to examine the roots of the lack of proper resistance to foreign invasion.