Surah An-Nazi'at — Ayah 25 (79:25)
فَأَخَذَهُ ٱللَّهُ نَكَالَ ٱلۡأٓخِرَةِ وَٱلۡأُولَىٰٓ ٢٥
English translation (Saheeh International)
So Allāh seized him in exemplary punishment for the last and the first [transgression].1.
- - i.e., for Pharaoh's setting himself up as a deity and for his previous oppression of the people and denial of Moses.
Brief commentary
So Allah seized him and punished him in the world by drowning him in the sea, and He will punish him in the afterlife by entering him into the severest punishment.