And remember, We delivered you from the people of Pharaoh: They set you hard tasks and punishments, slaughtered your sons and let your women-folk live; therein was a tremendous trial from your Lord. (2:49)

So he resolved to remove them from the face of the earth: but We did drown him and all who were with him. (17:103)