Job33 15-18
15In a dream, in a vision in the night, when deep sleep falls upon men as they slumber on their beds, 16He opens their ears at that time and terrifies them with warnings, 17to turn a man from wrongdoing and keep him from pride 18to preserve his soul from the Pit, and his life from perishing by the sword.