I've never been cruel to a student for getting a math problem wrong. My cruelty is always entirely appropriate and often necessary.
Most of my students adore me, even the bad ones 'cause I'm one of the few people in their lives that sets boundaries for them and calls them on their crap.