Job 33:15-17

EJ2000(i) 15 In a dream, in a vision of the night, when deep sleep falls upon men, in slumberings upon the bed; 16 then he opens the ears of men and seals their instruction, 17 that he may withdraw the man from his own work and cover the man from pride.