In Islam, one of the names of Allah is The Compassionate, The Merciful. His mercy encompasses all things.
We know that throughout the history of mankind that mankind have gone astray. Whenever there was a messenger/prophets of God, that brought God's message to the people in their time, they, the people always went astray. Throughout time, the messages were brought by continuance of messengers and prophets, yet people kept going against them and the warnings, the laws, the commandments etc. that were given in those messages. These messages, these books that the messengers were sent with, were given to us for a purpose. To acknowledge, to understand, to worship and to follow them and it was given as a guidance to help us on that journey. Imagine a creator not giving guidance! It was a blessing. For God is a merciful God He would not send his servants without proper guidance.
The final guidance to mankind is Islam. It is the finished religion of God. In the Quran, Allah says,
“And We have sent you (O Muhammad) not but as a mercy for the ‘alameen (mankind, jinn and all that exists).” 21:107
The thing that will get us into Jinnah (Heaven) is God's mercy. No one will enter it with their deeds alone, but we are to try for the most correct. No one should ask for death, for if he is doing good-he should do more than that, for if he is doing wrong-he has time to repent and Allah is the most forgiving, most merciful.