Pharaoh’s family picked him up, only to have him lead the opposition and to be a source of grief for them. That is because Pharaoh, Hãmãn, and their troops were transgressors.
فَالتَقَطَهُ ءالُ فِرعَونَ لِيَكونَ لَهُم عَدُوًّا وَحَزَنًا إِنَّ فِرعَونَ وَهٰمٰنَ وَجُنودَهُما كانوا خٰطِـٔينَ
faltaqatahooo Aalu Fir’awna li yakoona lahum ‘aduwwanw wa hazanaa; inna Fir’awna wa Haamaana wa junooda humaa kaanoo khaati’een