Heraclitus said this quote

Even a soul submerged in sleep is hard at work and helps make something of the world.