Peter Shaffer said this quote

What use, after all, is man, if not to teach God His lessons?