When Khizr killed that child by God's command he told Moses ...
When Khizr killed that child by God's command he told Moses : "I willed that God give to his parents a better and more merciful child instead of him." So we desired that their Lord would give them in exchange (a son) better in purity (of conduct) and closer in affection. [Holy Quran: Kahf: 18:81] Instead of that child that was killed by Khizr ( and Moses objected to this act). God granted his parents a daughter from whose generation came seventy Prophets.
[Kafi , v.6, p.6; Vasa'il, v.21] Imam Sadiq said: Daughters are good deeds and boys are God's blessings. Good deeds will be given a reward, but one will be questioned about blessings. [Vasa'il, v.21, pp.365-366] God told his Prophet on the night of Ascension to Heaven: Tell the father of girls, do not be impatient with your…