I thought that was adequately shown in the Book of Job...
What, Gods sense of humor? Or his knowledge of HIS own plan for humanity? Or, mayhap , both? ;-)