Punishment from God is among the many theories people have come up with for why we suffer, i.e. that God punishes us for certain actions we have (or have not) done either in our current life, or in past lives. However, aside from theories, nobody really knows why we suffer.
Especially in our current times, we can see that we are globally interdependent and interconnected. The more we develop, the more our global interdependence reveals to us.
We live in a single global system, and we each share a mutual responsibility for the well-being of the entire system.
Similarly to how our bodies work, we feel a wound in our pinky toe as a pain throughout our whole body, and if it is a major wound, then it demands our complete attention. That is how we increasingly reveal ourselves in our world today.
If we comprehended and felt the full extent of our interdependence, then we would quickly conclude that we need to fix our connections: to upgrade our attitudes to each other as to members of a single family—and even closer. If we do, then we will start sensing that we live in an absolutely perfect world, free from suffering.