Thank you for your question!
“Punishment” is a “little child” word. We cannot be “punished” for a role running through us. The issue which give us suffering is when ego comes up and would like to control things based on intellectual thinking, analysis and morality ( as following black or white laws in our understanding of what is good and proper.) There are different levels of consciousness. If you tell “John Doe” to follow his heart and do what he feels to be natural; he will certainly think that his vices are part of that. That is why, to align with “our” Drama, requires a previous work to understand the self, which very few people are willing to do.
The right word is “settlement.” That word does not have the meaning of being “beaten up” as punishment does. In fact, “settlement” is the end of the experience of duality for souls. As we are numberwise, some souls are able to settle their accounts (duality) and when “death” is experienced there will not be any suffering. That suffering increases in other souls, but at the same time settlement is proportional to a soul’s capacity. In other words, nothing could be overwhelming for a soul to experience. The proof is that we are still here.. 😉
Let us say that John Doe lived a life surrounded by all sorts of pleasure. He was into the senses and the pleasurable sensations of them. John had many people in his life to fulfill his needs and whims because he thought that “variety is the spice of life.” Thus, he developed serious attachments to physical things. When it was time for John to leave his body, John wasn’t ready. He was fighting it. When death came he was suffering for he wasn’t prepared to leave his current life style. That suffering means “lots of suffering” for John; due to his inability to cope with changes. That same experience of death may not have the same impact on another soul who has worked in the self. That is the difference. That is what is known as “punishment,” in “the children language.”
More vices means more suffering.