Ifs and buts...

Could someone please tell me how to end this phrase I heard on an episode of “The Simpsons”:
“If ifs and buts were candy and nuts…”
I yearn for Homer’s undying wisdom.

We’d all have a Merry Christmas!

Yer pal,

A clean version of this would be

If ifs and buts
were candy and nuts,
Oh what a sweet world
this would be.

I say that when I want to really annoy people. It has never failed to annoy.