Verse 8 “And all these thy servants shall come down unto me, and bow down themselves unto me, saying, Get thee out, and all the people that follow thee: and after that I will go out. And he went out from Pharaoh in a great anger.”
Moses went out from Pharaoh in great anger. Moses is a man who is given to anger, and that is often a bad thing for him, resulting in punishment from God for some of the things he did while angry. However, in this case, his anger is justified because it is right to be angry at sin.