When the good people die, we should not think that God doesn’t love them. We should also not think that he wants them to die because they are too good. That’s not it. When good people die, it means that He wants to protect them from the evil that is about to come.
In the Bible, Isaiah 57:1 states that; The righteous perisheth, and no man layeth it to heart: and merciful men are taken away, none considering that the righteous is taken away from the evil to come.
https://youtu.be/7EEHwDjlKjU?si=Z1aJeAU_XuaKc5qg
This is exactly what the Bible says. God wants the good ones to keep doing good so that they won’t mix up with the evil ones and also begin to do evil.
Do you know that if some good people mix up with evil ones, they tend to engage in evil activities too? So, God takes them away and that serves as a form or way of protecting them so that they won’t encounter or take part in the evil that is about to come.
God takes the life of anyone whom He wants to take and no man can question Him. So if he takes the life of a good person, just hope that the person is singing with the angels and don’t think He did something bad to the person.