That's obviously a ridiculous comparison. Nobody in the world deserves to be shamed for the way they look. Nobody. People who do body shame others deserve a good beating but that last bit is just my opinion.
People deserve to be beaten just for some words they say? I'm also certain your definition for "shaming" is very broad.