Sweets are extra. A sign of affection. A toast to achievement.
I imagine a captain pouring a bottle to the sea every time someone gets to a fight an ship crossing the ocean.
IMHO if a child is behaving in a way that you don't like, it's your job, not theirs, to close that gap. Are you putting them in an overwhelming position, asking too much of them, emotionally distancing yourself? Do they have the mental capacity at that age to balance behaviour regulation with delayed gratification? (e.g. a long drive they can't cope with, the promise of sweets if you're "good")
If you're bribing good behaviour with the promise of something, and you have that thing in hand, throwing it away just seems mean. That's different to not giving it to them. It's an irretrievable act, and shuts down any continued negotiation.
Stigmatising natural behaviour, and then washing your hands of the situation (because you can't get that sweet back) doesn't sit right with me.
Let's not be hyperbolic. Nobody is hurt by throwing away candy. I agree that it is a childish and probably unproductive method, but candy is NOT important.