Three aspects:
People look for three aspects of security, all of which lie in the Hand of the Giver of Security, Exalted be He, Who has power over all things and Who grants it only to His pious servants.
First: Worldly security of all types,
{And if only the people of the cities had believed and feared Allah, We would have opened upon them blessings from the heaven and the earth...}
[Surat al-A‘rāf: 96]
Second: Security needed at the time of death, as the angel of death descends, and in the grave upon seeing the two angels.
Here comes security and glad tidings for the believers:
{Indeed, those who have said, “Our Lord is Allah”and then remained on a right course -theangels will descend upon them, [saying]: “Do not fear and do not grieve but receive good tidings of Paradise, which you were promised.”}
[Surat Fussilat: 30]
Third: Security needed in the Hereafter at the time of the greatest panic. The greatest security will be afforded to the pious as Allah Almighty says:
{They will not be grieved by the greatest terror, and the angels will meet them [saying]: “This is your Day which you have been promised”}
[Surat al-Anbiyā’: 103]
Securityis only given to the monotheists:
{Whoever brings a good deed will have better than its worth; and they will be safe from the terror on that Day.}
[Surat al - Naml: 89]
The greater your faith is, the greater your security will be as Allah Almighty says:
{They who believe and do not mix their belief with injustice –those will have security, and they are [rightly] guided.}
[Surat al- An‘ām: 82]