Imam Ghazali (May Allah have mercy on him) said:
‘Fear rips away desires and muddens luxuries so that cherished sins become reprehensible, just as a honey lover is repelled by it when he learns that it has poison in it. This is how fear burns desires; disciplines the organs; subordinates the heart and gives it tranquility. It also enables the heart to rid itself of pride, hatred, and envy; and it leaves it absorbed in it (fear). Hence, the heart becomes preoccupied with its own worries and looks towards its best interest in the long run. It is then engaged in only matters like meditation, self-analysis and struggle. It cherishes its time and moments.’
[Ihya: 4/160]