Pinocchio's characterization varies across interpretations, but some aspects of his character are consistent across all adaptations.
Pinocchio's bad behavior, rather than being charming or endearing, is meant to serve as a warning.