Then the people of Pharaoh picked him up (from the river): (It was intended) that (Moses) should be to them an adversary and a cause of sorrow: for Pharaoh and Haman and (all) their hosts were men of sin.
This was the Plan of Providence: that the wicked
might cast a net round themselves by fostering the man
who was to bring them to naught and be the instrument
of their punishment, or
(looking at it from the other side) that Moses might learn
all the wisdom of the Egyptians in order to expose all
that was hollow and wicked in it.
Yusuf Ali, Abdullah. Translation and Commentary of the Quran. (surah 28 verse 8). Quran Arabic with English Translation & Commentary (Tafsir) by Abdullah Yusuf Ali, Free Download (quran4u.com)