Once, I asked my oncologist how is it that MY prayers were answered and yet, I witnessed many faithful people passing thru his waiting room that we both knew were not going to get better.
He simply said "I don't know why God chooses to heal some people, and not others".
It seemed the good Doctor's faith was not shattered or even diminished by those who were not healed, but instead fortified when he saw people who were told "no" by God, yet they still remained stead fast in their love for the Lord.
I've often wondered if those who weren't blessed with a healing and still rejoiced in the Lord were the very people that God chose to spend eternity with him in heaven. The rest of us are still being tested.
You are right - sometimes, in God’s infinite wisdom and mercy, he allows a person’s life to end on this sinful earth, while others may need more time to come to the Lord, to be refined, or for God to finish a work He started in them.
I’m glad I am still here. It means I’ve got more work to do before I am ready for eternity. And for that I am thankful.