Pharaoh turned into a tyrant on earth, and discriminated against some people. He persecuted a helpless group of them, slaughtering their sons, while sparing their daughters. He was indeed wicked.
إِنَّ فِرعَونَ عَلا فِى الأَرضِ وَجَعَلَ أَهلَها شِيَعًا يَستَضعِفُ طائِفَةً مِنهُم يُذَبِّحُ أَبناءَهُم وَيَستَحى ۦ نِساءَهُم إِنَّهُ كانَ مِنَ المُفسِدينَ
inna Fir’awna ‘alaa fil ardi wa ja’ala ahlahaa shiya’ai yastad’ifu taaa’ifatam minhum yuzabbihu abnaaa’ahum wa yastahyee nisaaa’ahum; innahoo kaana minal mufsideen