Nothing like a bear attack to teach kids that they shouldn’t mock people. That’ll show him.
To be fair, there’s debate about whether this was just an angry outburst due to the mockery or a reaction to Bethel’s rejection of God, the mockery being an example of the town’s evil (“See? Even the kids are bad.”). But the thing is, sending creatures to kill kids (42 of them) is wrong, no matter the reason.