Sometimes when the Lord chastises his people, the good and the bad both perish. We humans see someone very old dying peacefully as being fortunate and feel sorry for anyone young dying unexpectedly or tragically. But God sees things his way. When and how we die does not matter. It's where we go after death that matters. We are always shortsighted and show our own wishes.