For it is hardly right and rational to question (not that I have not) how it can be Right for God to do allow or do anything, when He is uniquely Omniscient, knowing (among all things) the hearts of everyone, as well as what their life and death will effect both in this life and for eternity.
And who is also Omnipotent, almighty, and able to make all things work out for the Good of those who love the Good, and which means love God and what He is. (Romans 8:28)
As regards virtuous persons dying, I am reminded of a classic Star Trek episode called “City on the edge of Forever,” in which Kirk and Spock travel back in time to the late 1930’s (in pursuit of a paranoid McCoy, who accidentally had injected himself with an overdose of a dangerous drug, and beamed down to a planet, and jumped thru the "Guardian of Forever" and effected the future, so that the Enterprise itself no longer existed), and Kirk falls in love with soup kitchen pacifist visionary Edith Keeler.
But Spock finds out that McCoy who save her from death, yet that she must die in order to prevent billions of deaths, for she would have influenced the US to delay its entry into WW2, enabling Germany to develop the atomic bomb, and which as a consequence, effectively nuked the existence of the Enterprise.
However, while there, McCoy had caused the death of a no-name drunk, and like as with the Butterfly effect in chaos theory, even that could have had effects, from minimal to profound, which only God knows. As well as the consequences of our own actions or inactions, and sins of commission and of omission.
Of course, seeing God is also omnipotent, it can thus be argued that God can prevent or reverse the negative effects of our choices. And God can and does restrain evil, or else the whole world would be worse than North Korea, while still enabling man to make choices and effect consequences. And without the ability to choose then we are but clouds, and without alternatives to choose from then “choice” effectively meaningless. And if there are no consequences for our actions then they hardly matter, nor do we.
In any case, a finite human, who cannot even know or determine all the effects of his/her own life for time and for eternity, can hardly stand in judgment of a Being who knows all and makes evil it work out justly, and with mercy and grace, without denying any consequences, for time and for eternity.
And I have no doubt that in the final judgment when all is laid bare, including motives, then there will be no arguing by the damned as to their guilt, even by having chosen to go against the degree of light from God they had (which in essence is rejecting Christ, the Light), and worthiness of their varying degrees of eternal punishment.
Nor will it see boasting for those who did not choose to resist God but by His grace came to the Lord and Savior Jesus Christ in repentant faith, to save them on His account, by His sinless shed blood, and thus characteristically followed Him in penitent faith.
As for the charge that “the good die young,” the fact is that Biblically no one is without sin, but it is typically those who live reckless lives of sin that mostly die young.