The bigger lesson is just what this author is saying. Job was not right with God. He thought he was, but God did let those bad things happen, knowing that in the end, Job would understand his shortcomings toward God.