Theres an entire ocean between letting anyone steal anything versus tasing a child walking away while stealing food.
There are countless ways to prevent theft and punish thieves without physical abuse. Especially with young child thieves
Your entire argument revolves around the supposition that (1) the kid was stealing food, (2) because she was hungry.