Then We sent Moses with Our signs to Pharaoh and his chiefs, then they did unjust with It, so you see how was the consequence of mischief-makers.
Even though Pharaoh saw all Signs clearly from Lord through Messenger Moses, instead of accepting It and believing in the Lord, he became the enemy of Moses. At last, Lord commanded Moses to pray against Pharaoh as told in verses 10: 88-89. Thus, when Pharaoh was drowning in the Red sea and his spirit reached in his throat, he said: "I believed that there is no Deity except the One with whom the children of Israel believed, and I am among the one who submitted wholly to Lord" as told in verse 10: 90. As told in verse 10: 91 Lord asked: "Do you believe now? You disobeyed before and you were among the mischief-makers". It is told in verse 10: 92 Lord said: "However, We will preserve your body to be a Sign to anyone who comes after you, yet many people are quite heedless about Our verses". It is told in verses 8: 53-54: “The Impartial Lord does not change the favors He has bestowed upon a people until they change it themselves. Just like Pharaoh’s folk and those before them, they neglected their Lord’s verses, then Lord destroyed them due to their offenses, and made the Pharaoh folk drowned, each of them was a wrongdoer”.
When everyone among the community of the last Messenger becomes wrongdoers and transgressors like Fujjar among his people, Doomsday will happen. See explanation 6: 10; 7: 74, 86, 14: 28-29.