Job 33:14-17
Job 33:14-17 ESV
For God speaks in one way, and in two, though man does not perceive it. In a dream, in a vision of the night, when deep sleep falls on men, while they slumber on their beds, then he opens the ears of men and terrifies them with warnings, that he may turn man aside from his deed and conceal pride from a man