"Forcing… to cast out their young children, to the end they might not live." This expression hints that the king did not want the killing of the infants to be carried out openly. And observe: the promise of God was strengthened by the very same circumstances through which the devil strove to undermine it, because the people of Israel were being afflicted, yet they grew and multiplied. For this reason Moses too is taken up and nourished and educated in the house of the king, and again flees; but during his flight he is deemed worthy of the vision, and the leadership of the people is entrusted t...o him. Thus God brings it about that even one sold into slavery becomes a king in the very place where he was a slave.
Source: Commentary on Acts