One verse

Srimad Bhagavatam 9.20.39

9.20.39

चोद्यमाना सुरैरेवं मत्वा वितथमात्मजम् । व्यसृजन् मरुतोऽबिभ्रन् दत्तोऽयं वितथेऽन्वये ॥ ३९ ॥

codyamana surair evam matva vitatham atmajam vyasrjan maruto ’bibhran datto ’yam vitathe ’nvaye

codyamana
although Mamata was encouraged (to maintain the child)
suraih
by the demigods
evam
in this way
matva
considering
vitatham
purposeless
atmajam
her own child
vyasrjat
rejected
marutah
the demigods known as the Maruts
abibhran
maintained (the child)
dattah
the same child was given
ayam
this
vitathe
was disappointed
anvaye
when the dynasty of Maharaja Bharata.

Although encouraged by the demigods to maintain the child, Mamata considered him useless because of his illicit birth, and therefore she left him. Consequently, the demigods known as the Maruts maintained the child, and when Maharaja Bharata was disappointed for want of a child, this child was given to him as his son.