Job 11:7-9 (HCSB)

Can you fathom the depths of God
or discover the limits of the Almighty?
 They are higher than the heavens — what can you do?
They are deeper than Sheol — what can you know?
 Their measure is longer than the earth
and wider than the sea.

Zophar runs off the rails.  Not in these verses; in these verses he nails the character of God pretty accurately.  His problem was not that he didn’t understand God, it was that he drew wrong conclusions about God from what he knew.  Zophar assumed that God would only ever allow evil to touch those who had done evil. So he tells Job:
Job 11:13-15 (HCSB)
As for you, if you redirect your heart
and lift up your hands to Him in prayer —
 if there is iniquity in your hand, remove it,
and don’t allow injustice to dwell in your tents —
 then you will hold your head high, free from fault.
You will be firmly established and unafraid.

His conclusion: Job must have sinned, because look at everything that happened to him.
We need to be careful that we don’t draw wrong conclusions about God or our understanding of God even though we have correct information, like Zophar did.  He couldn’t conceive of anyone suffering apart from their own sin, so he assumes Job suffered.  We fail like Zophar when we assume that bad things happen to people (or ourselves) because they deserve it.