Genesis 41:28 - The Universal Communication of God

This is the thing which I have spoken unto Pharaoh: What God is about to do he sheweth unto Pharaoh.
There is a God in heaven who reveals mysteries in the dreams of man. Just as God showed unto Pharaoh the future in a dream, God also showed King Nebuchadnezzar what will happen in the future (Daniel 2:28). God speaks to whomever he wishes, to both the believer as well as the non-believer.