Fully understanding the purpose of the universe, and why God allows suffering, is too big of a task for us to take on. At best, we can merely catch a glimpse of its meaning.
We can’t fully know the truth in this life, but we can know it in part. It’s difficult to use mere words to describe the truth, but words like wisdom, love, and peace come close.
We have to accept that we can’t figure everything out. We have to trust that God knows what he’s doing, as difficult as that may be sometimes.