Jesus doesn't excuse pain and suffering. Nowhere does he attempt a theological justification for death. Death and suffering exist; God is good. The paradox that confounds us is left unexplained.Please do read the whole thing!
What Jesus does say is that when we mourn, when we suffer, God will stand beside us. In our pain, God will embrace us.
Also see here.