538
Śrīmad-Bhāgavatam
[Canto 3, Ch. 14]
It was not natural for her to agitate her husband when he was in trance, but she could not control her strong sex appetite. Her sex desire was like a mad elephant, and therefore it was the prime duty of her husband to give her all protection by fulfilling her sex desire.
TEXT 11
तद्भवान्दह्यमानायां सपत्नीनां समृद्धिभिः । प्रजावतीनां भद्रं ते मय्यायुङ्क्तामनुग्रहम् ॥११॥
tad bhavān dahyamānāyām sa-patnīnām samṛddhibhiḥ prajāvatīnām bhadram te mayy āyuṅktām anugraham
tat—therefore; bhavān—your good self; dahyamānāyām—being distressed; sa-patnīnām—of the co-wives; samṛddhibhiḥ—by the prosperity; prajāvatīnām—of those who have children; bhadram—all prosperity; te—unto you; mayi—unto me; āyuṅktām—do unto me, in all respects; anugraham—favor.
TRANSLATION
Therefore you should be kind towards me by showing me complete mercy. I desire to have sons, and I am much distressed by seeing the opulence of my co-wives. By performing this act, you will become happy.
PURPORT
In  Bhagavad-gītā  sexual intercourse for begetting children is accepted as righteous. A person sexually inclined for simple sense gratification, however, is unrighteous. In Diti's appeal to her husband for sex, it was not exactly that she was afflicted by sex desires, but she desired sons. Since she had no sons, she felt poorer than her co-wives. Therefore  Kaśyapa  was supposed to satisfy his bona fide wife.
TEXT 12
भर्तर्यासोरुमानानां लोकानाविशते यशः । पतिर्भवद्विधो यासां प्रजया ननु जायते ॥१२॥
bhartary āptorumānānām lokān āviśate yaśaḥ