اِعْلَمُوْۤا
اَنَّ
اللّٰهَ
شَدِیْدُ
الْعِقَابِ
وَاَنَّ
اللّٰهَ
غَفُوْرٌ
رَّحِیْمٌ
۟ؕ

In the second verse (98), it was said اعْلَمُوا أَنَّ اللَّـهَ شَدِيدُ الْعِقَابِ وَأَنَّ اللَّـهَ غَفُورٌ‌ رَّ‌حِيمٌ(Be sure that Allah is severe in punishment and that Allah is Most Forgiving, Very Merciful). This is telling us that the prescribed injunctions of Halal (lawful) and حَرَام haram (unlawful) are based on ideal wisdom and consideration. As long as they are obeyed and followed, they would bring nothing but good for the person who does just that. However, electing to do what is contrary to them is nothing but embracing the worst of curse and punishment. Along with the warning, it was also said that, should someone commit a sin forgetfully or heedlessly, then, Allah Ta` ala does not punish instantly, instead of which, the doors of Allah's forgiveness stay open for those who repent and feel ashamed of what they have done.