Please refer to this answer from MuslimMatters.org: "Allah subḥānahu wa ta'āla (glorified and exalted be He) had a plan for you before you were born, and He still has a plan for you. Allah’s plan for you is necessary and glorious. His plan is vital to your success and important to the world. Allah’s plan is not set in stone, as if we were robots pre-programmed in the factory. That would strip us of free will and deny our natures. Rather, I believe that Allah has a flexible plan for each human being: a plan that allows that person to benefit the world with his/her unique talents. This is in fact the Islamic view of al-Qadar, or predestination. There is no doubt that Allah has decreed everything that happens in the universe from the beginning of time to the end, and that Allah has written it all in al-Lawh al-Mahfooz (the Book of Decrees)."
Of course, a lot of Muslims believe that. But the truth is different. Whoever never heard about Islam, or received a distorted understanding of Islam, or doubted the truth of Islam, and his denial of Islam was not based on ingratitude or arrogance or supremacy, will be judged according to Divine book he believes in. طبعا كثير من المسلمين يؤمنون بذلك، لكن الحق غير ذلك، فمن لم يسمع عن الاسلام، أو سمع عنه مشوها أو ارتابت نفسه منه، ولم يكن عدم إسلامه الجحود والكبر والاستعلاء فسيحاسب على دينه وما جاءه من كتاب من الله هو يُؤْمِن به.