I am not a Muslim, but I am very interested in it. I hope by getting an answer to this question I will take a step closer to maybe accepting Islam.
I understand that Allah gives everyone a chance to live out our lives on earth to test us, even though he knows full well how everyone will do. This is similar to how a legal system allows a convicted criminal to make an appeal in his defense even though everything may be stacked against. I.e. all the evidence. In the day of judgment Allah will use our lives as evidence against us to prove if we did good or bad. To be just Allah allowed us all to live our lives so Allah doesn't have to say to us on the day of judgement "I knew what you would've done if i gave you a life so you go to hell or heaven,etc." Instead Allah can say "you had your chance and you failed to prove yourself etc."
So suppose we have two people both born in say a Christian family and let's say one is very devout to his religion and the other is more casual and doesn't care much, he just happened to have Christian parents. Like your typical teen they go through school not to concerned yet about religion and reach say the age of 20. Still very young and focused on their sorting their future lives not too serious about religion; as most people are in the west at this age.
Now suppose the less religious person suddenly dies due to an accident, very probable and has occurred to many people in the world. The devout religious person continues his life and eventually converts to Islam at say 35, which he practices until death.
The question is therefore, is it unfair that the first person who died early when he was still developing and didn't get a chance to reach full maturity or reach a standard livelihood to be able to pursue say religion? Even if would have remained say a disbeliever till death, wasn't letting him live on earth their to prove he would have died a disbeliever and to avoid having to say "I knew you would have lived to die a disbeliever anyway".
The first person who died can now argue that if I had lived to the same age as person 2 I might have become a Muslim. If Allah was simply going to say to him " I knew you would have lived to die a disbeliever anyway" than why did Allah give him a life on in the first place.
I understand that Allah has said in the Quran that everyone at some point their lives will be introduced or exposed to Islam. But I feel many young people who do are so caught up with problems in their lives and future that they may miss the opportunity to take it seriously. Especially as in this example they may die very young, ignorant of religion having lived a life focused on worldly pleasure. Many Muslim convert's are like this early on and in later life realise they should submit to god and may come across Islam in their search.
I'm not attacking islam I just want this issue cleared up and would appreciate a kind response from someone who might have the answer.