A person is frightened in dreams in order to remove from him a sunken arrogance, one hidden from him that he does not recognize.
Sefer HaMidos, Haughtiness, Part I §19