ata urdhvam sa tatyaja
madayantyam prajam adhat
atah—in this way; urdhvam—in the near future; sah—he, the King; tatyaja—gave up; stri-sukham—the happiness of sexual intercourse; karmana—by destiny; aprajah—remained sonless; vasisthah—the great saint Vasistha; tat-anujnatah—being permitted by the King to beget a son; madayantyam—in the womb of Madayanti, King Saudasa’s wife; prajam—a child; adhat—begot.
After being thus instructed, the King gave up the future happiness of sexual intercourse and by destiny remained sonless. Later, with the King’s permission, the great saint Vasistha begot a child in the womb of Madayanti.
Link to this page: https://prabhupadabooks.com/sb/9/9/38