He will say: “Do not argue in My presence when I gave you advance warning of the Threat.” (Surah Qaf, 50:28)
Allah, Who is infinitely just, sent Messengers to tell humanity about Him. Through the just Books He gave to His Messengers, He granted all people discrimination, taught them how to worship Him correctly, and made them aware of the morality that will earn His good pleasure. He provided knowledge of the Unseen: Death may come at any time, the Hour is drawing nigh, no one will be wronged while accounting for his or her deeds on the Day of Judgment, and those who reject Him in this world will be punished in the next world.
By means of such warnings, including “No indeed! Truly it is a reminder, and whoever wills pays heed to it” (Surah ‘Abasa, 80:11-12), Allah states that we can learn from the Qur'an and be guided. In addition, He gives a detailed account of what happens to those who are ungrateful, as well as what happened to earlier communities of unbelievers, so that His servants can take heed. Allah commands thus:
Leave the deniers, who live a life of ease, to Me, and tolerate them a little longer. With Us are shackles, a Blazing Fire, food that chokes, and a painful punishment on the Day the ground and mountains shake, and the mountains become like shifting dunes. We have sent you a Messenger to bear witness against you, just as We sent Pharaoh a Messenger. But Pharaoh disobeyed the Messenger, so We seized him with terrible severity. How will you safeguard yourselves, if you are unbelievers, against a Day that will turn children grey, by which Heaven will be split apart? His promise will be fulfilled. This truly is a reminder, so let anyone who wills take the Way toward his Lord. (Surat al-Muzzammil, 73:11-19)
As the verse above informs us, “anyone who wills can take the Way to Our Lord.” However, those who insist on turning away deserve a grievous end, for Allah gives the most just judgment.