To avoid something, to be sure of it, to avoid haram and prohibitions to salvation and well-being, to avoid charity or things that can not be avoided to avoid the weakness of faith or weakness.
Seeing that you're afraid of something in the dream and to avoid it, signifies that you are caught in that thing. It is not good to be afraid and calm in a dream, but when he is afraid of his enemy, he is defeated. Seeing that he is afraid of the devil, he will come out of the right way. Fear of punishment signifies punishment. According to another rumor: to remain calm in a dream of something that can not be avoided, or to divorce from the right or the Qur'an or the Quran is a sign to forget something.