Maybe it's the second verse.
Old Mother Hubbard
Went to the cupboard,
To give the poor dog a bone:
When she came there,
The cupboard was bare,
And so the poor dog had none.
She went to the baker's
To buy him some bread;
When she came back
The dog was dead!
She went to the undertaker's
To buy him a coffin;
When she came back
The dog was laughing.
She took a clean dish
to get him some tripe;
When she came back
He was smoking his pipe.
She went to the alehouse
To get him some beer;
When she came back
The dog sat in a chair.
She went to the tavern
For white wine and red;
When she came back
The dog stood on his head.
She went to the fruiterer's
To buy him some fruit;
When she came back
He was playing the flute.
She went to the tailor's
To buy him a coat;
When she came back
He was riding a goat.
She went to the hatter's…
https://www.songsforteaching.com/nurseryrhymes/oldmotherhubbard-sft.php