Can dreams yield valuable insights?

I have dreams that seem to be directed at me but others that seem to reflect what is happening in the world, perhaps as a caution to others.

Dreams directed at me may have kept me out of certain bad situations, but they haven’t proven helpful as a guide to success, so I sometimes wonder if I am being “punked” by the spiritual world.