In the Book of Isaiah, G-d exclaims, “My thoughts are not your thoughts.” This means that G-d’s perspective is totally different from our human perspective.
This essentially is G-d’s answer to Job. Job suffers a series of tragedies: the death of all his children, illness, and material loss. He tries to fathom why G-d has done this to him, given that he is a good person who has only done good. His friends and his wife offer various perspectives, all of which Job rejects as lacking the ring of truth. Finally G-d speaks to Job: “Where were you when I laid the foundations of the earth? Declare, if you have understanding. Who determined its measurements, if you know?” G-d is telling Job that he simply does not have the cosmic perspective to understand what happens in this world. Job is left with not knowing the answer to human suffering, not because G-d refuses to tell him, but because there is no way a human being can understand reality from G-d’s perspective, which is ultimate truth.
The Sages say that when we get to the next world, we are going to look back at all of human history, and see everything as perfect. Even the most tragic events in history will look totally different. This means that in that future world, without the limitations of time and space, we will see everything from G-d’s perspective. But now, ensconced in this world of time and space, that perception is simply inaccessible to us. Human beings trying to fathom the Divine plan are like trying to run a Windows 2000 on a 286 computer. We simply do not have the hardware to understand G-d, Who is the ultimate all- inclusive reality.
The answer to all human suffering is: I don’t know.