At the city of Sāvatthī…
Then King Pasenadi went up to the Buddha, bowed respectfully, and sat down to one side. Then a man went up to the king and whispered in his ear, “Sir, Queen Mallikā has given birth to a daughter.” When this was said, King Pasenadi was disappointed.
Then, knowing that King Pasenadi was disappointed, on that occasion, the Buddha recited these verses:
“Well, great king, some women are better than men,
they are wise, virtuous, loyal to the husband,
and treat relatives very well.
“Great king, when she has a son,
he becomes a hero, the son of such a blessed lady
may even rule the country.”