It was too late to repent
It was too late to repent
People of Musa (as) became Muslim — but the hardships did not end. The slavery and misery spread by the king continued. They were tired and wanted to rid the king.
Musa (as) prayed to Allah (Swt) to annihilate the people of king and the king (pheroa). To which Allah (swt) accepted Musa's supplication and brought his wrath on pheroa.
The moment pheroa realised, he can not evade death. He immediately said, he believes in Allah. But Allah (swt) did not accept his repentance — for it was too late.
Surah Younis, 83 - 92