nagham tavan manak sthitam
asty ekam praktanam agham
yad ihedrk tvam aprajah
sadasah-patayah ucuh—the head priests said; nara-deva—O King; iha—in this life; bhavatah—of you; na—not; agham—sinful activity; tavat manak—even very slight; sthitam—situated; asti—there is; ekam—one; praktanam—in the previous birth; agham—sinful activity; yat—by which; iha—in this life; idrk—like this; tvam—you; aprajah—without any son.
The head priests said: O King, in this life we do not find any sinful activity, even within your mind, so you are not in the least offensive. But we can see that in your previous life you performed sinful activities due to which, in spite of your having all qualifications, you have no son.
The purpose of marrying is to beget a son, because a son is necessary to deliver his father and forefathers from any hellish conditional life in which they may be. Canakya Pandita therefore says, putra-hinam grham sunyam: without a son, married life is simply abominable. King Anga was a very pious king in this life, but because of his previous sinful activity he could not get a son. It is concluded, therefore, that if a person does not get a son it is due to his past sinful life.
Link to this page: https://prabhupadabooks.com/sb/4/13/31