The joke was he saw a donkey eating figs and figs was a common thing to eat with wine and basically made a joke how the donkey should have some wine with it. Laughed so hard and collapsed
I wish he told the joke to someone before he died and not just thought of it in his head and laughed by himself to death