The text plays on the contradiction between the concepts of 'abstinence' and 'moderation'. Abstinence typically means refraining from something entirely, while moderation suggests doing it but not excessively. The humor arises from the idea of practicing not doing something at all, but only in moderation, which is inherently contradictory.
Abstinence is a good thing if practiced in moderation