The first problem with your question is that it is impossible to define someone as a good person, there are no “good people”. Defining someone as good elevates them to a status that would dissolve the effects of bad/evil encounter. True goodness cannot be tainted by evil. In fact, just the opposite happens: when bad/evil encounters true goodness it is overwhelmed and either driven away or annihilated. Evil/bad is the absence of good not it’s antithesis.
With an understanding of the above we can only correctly assume that true goodness can be found in the form of a transcendent Creator. All humanity/ “people” are in the same situation: inhabitants of a world that was signed over by its Supremely appointed steward (man) to the originator of separation and chaos. We feel the effects of this chaos every time we experience something that grates against our now perverted idea of justice. It is true that because we were created in the image of God we still hold an innate sense of “the way things should be” yet when conceptualized through our fractured nature this becomes perverted into self-centered accusations against the Source of justice itself. We blame God for not acting all the while finding refuge in our self-sufficiency. We have abolished justice from our own lives yet when we ourselves are slighted we demand retribution for our inconveniences. We lash out against Him in our pain yet find solace in physiological coping mechanisms and psychosomatic analgesics.
When God, in His sovereignty, chooses to act he does so in His omniscience and for the best interest of His people. We in turn are not all-knowing therefore we may not be able to comprehend His purpose or plan. Without His sustaining force existence would be impossible. Without His grace and peace tragedies would be unbearable. Without His Son relationship would not be possible.
Some would say: “to question God’s purpose in allowing tragedy is a direct affront to His nature; who are we to question the Almighty Creator of Heaven and Earth?; all of creation belongs to Him to do with as He sees fit; to question is to incur His wrath and chastisement!; Beware Oh you of little faith!” Surely there are instances of sever warning given but only to those who in their haughtiness claim to know better than Him. I know that God welcomes and honest seeker. He desires to console the hurting and grant peace to the broken hearted. He can handle your anger; your screaming does not frighten Him nor you yelling cause Him disquiet. He desires that you give your pain to Him in order that He might gently work through your questions, correct your misunderstanding, and rectify your intentions. This is how God is love.