Henri-Frédéric Amiel said this quote

Hindoo wisdom long ago regarded the world as the dream of Brahma. Must we hold with Fichte that it is the individual dream of each individual ego? Every fool would then be a cosmogonic poet producing the firework of the universe under the dome of the infinite.