You didn't just punish him, you guided him to understand the value of respect and responsibility, Using the life lesson and allowing him to reflect emotionally was such a powerful way to teach, This is the kind of parenting that helps kids grow with empathy and responsibility.
Thank you