I don't want a bar of it

Hi, do you know the origin of the phase "I don't want a bar of it"?

Could you give a sample sentence where the nature of "it" is made clear? I've never heard this phrase.
SS