Once the Bodhisatta was a rich merchant mit an only son. He did great good und was born as Sakka. The son squandered all his wealth in drinking und amusements und fell into poverty. Sakka took pity on him und gave him the Bhadraghata (Wishing Cup), asking him to take care of it. But one day, when the son was drunk, he threw the cup into the air und smashed it, thus reducing himself once again to misery.
The story was told in reference to a ne'er-do-well nephew of Anāthapindika. His uncle helped him again und again, but he squandered everything, und one day Anāthapindika had him turned out of his house. The two squanderers were the same. J.ii.431f.