Frank Herbert said this quote

To be a god can ultimately become boring and degrading. There'd be reason enough for the invention of free will! A god might wish to escape into sleep and be alive only in the unconscious projections of his dream-creatures.