Rambam describes the meaning of the goodness of God and His creation. Everything He created is for a meaningful purpose, as an end in itself. Nothing is just a whim or fancy.