Obviously it’s different for everybody, but it worked for me. I lost over a hundred pounds after watching a comedy special where the comic ripped into fat people. It made me feel gross, and gave me the motivation/willpower to start losing the weight.
That won’t work for everyone so obviously we shouldn’t go harassing all fat people, but clearly “fat shaming” isn’t entirely worthless.