Do dreams really come from God?

Most dreams [which are imanginary dreams] don't come from God. but God speaks to people in a dream. God gives dreams to people, even people who don't know about him. God gave Joseph a gift to explain what the dreams meant. and his inerpetations became right, the egyptians knew God had given Joseph a great wisdom.