Job 33:15-17

MKJV(i) 15 In a dream, a vision of the night, when deep sleep falls on men; while they slumber on the bed; 16 then He opens the ear of men and seals their teaching, 17 so that He may turn man from his act, that He might hide pride from man.