“Gee, hasn’t anyone seen Starship Troopers ?
Don’t even know what you’re talking about!
“Starship Troopers” was a really BAD movie made from a really GOOD book by Robert Heinlein.
In one scene, the protagonist, Johnny Rico, is taking his squad through a live-fire exercise in basic training. One of his squad has a malfunction with the comm system in his helmet. Johnny attempts to fix it, but after the kid takes his helmet off so Johnny can fix it....he gets a round through the head and falls dead.
Johnny is demoted, and as is the practice in that society, he is sentenced to 20 lashes with a whip in front of all the troops.