The Hour has drawn near, and the moon has been cleft asunder (the people of Makkah requested Prophet Muhammad SAW to show them a miracle, so he showed them the splitting of the moon).
They belied (the Verses of Allah, this Quran), and followed their own lusts. And every matter will be settled [according to the kind of deeds (for the doer of good deeds, his deeds will take him to Paradise, and similarly evil deeds will take their doers to Hell)].
The people of Nuh (Noah) denied (their Messenger) before them, they rejected Our slave, and said: "A madman!" and he was insolently rebuked and threatened.
Verily, We sent against them a violent storm of stones (which destroyed them all), except the family of Lout (Lot), whom We saved in last hour of the night,
And they indeed sought to shame his guest (by asking to commit sodomy with them). So We blinded their eyes, "Then taste you My Torment and My Warnings."
Are your disbelievers (O Quraish!) better than these [nations of Nuh (Noah), Lout (Lot), Salih (Saleh), and the people of Fir'aun (Pharaoh), etc., who were destroyed)? Or have you an immunity (against Our Torment) in the Divine Scriptures?
Verily, the Mujrimun (polytheists, disbelievers, sinners, criminals, etc.) are in error (in this world) and will burn (in the Hell-fire in the Hereafter).
Verily, We have created all things with Qadar (Divine Preordainments of all things before their creation, as written in the Book of Decrees Al-Lauh Al-Mahfuz).
And everything, small and big is written (in Al-Lauh Al-Mahfuz already beforehand i.e. before it befalls, or is done by its doer) (See the Quran V. 57:22).
IMPORTANT: All Scripture text has context and background. Scripture should never be read literally or in isolation. Always seek clarification from religious scholars and teachers. In general, Scripture adheres to four principles: (1) Literal Meaning - What the Scripture says (2) Historical Setting - The story events; how the Scripture was understood in its time (3) Grammar - The surrounding sentence and paragraph; textual context (4) Synthesis - A comparison with similar Scripture to give a better contextual understanding