The text plays on the double meaning of 'worthless' and 'serve as a bad example'. While 'worthless' typically means having no real value or use, the joke suggests a paradoxical value in being a bad example, thus exploiting the different meanings of 'worthless'.
I ' m not worthless . I can always serve as a bad example .