وَأَنِيبُوٓا۟ إِلَىٰ رَبِّكُمْ وَأَسْلِمُوا۟ لَهُۥ مِن قَبْلِ أَن يَأْتِيَكُمُ ٱلْعَذَابُ ثُمَّ لَا تُنصَرُونَ Qur’an Az-Zumar (39:54)Waaneeboo il a rabbikum waaslimoo lahu min qabli an yatiyakumu alAAa tha bu thumma l a tun s aroon a
Cf. 4:18 - "repentance shall not be accepted from those who do evil deeds until their dying hour, and then say, 'Behold, I now repent'; nor from those who die as deniers of the truth".
The exhortation in brief is: 'Repent and work righteousness, before it becomes too late'. No help will come to you when the Judgment is actually established and you stand before Allah.