My strictest, and most beneficial, professor was so hard on my writing that, when I finally produced something up to his expectations, his feedback comment casually wondered whether I had plagiarized it.
It's cliche because there's some merit: he wasn't our friend, but had an incredibly positive effect on our abilities in the subject.
I've no strong opinion whether public shaming is good or bad with spelling errors. Maybe the hypersensitivity we've culturally adopted to the emotional state of children biases our perception of the impact of such things.
Correcting mistakes is one thing but insulting people making errors is probably harmful not helpful.