The problem still comes down to your "lessons should be painful" approach, and how disproportionate it is relative to the perceived error here.
To take an analogy: if a child plays with matches, you teach the child not to do that, explain how fire is dangerous, etc. You don't light a fire and hold the child's face down on it to burn them and make the lesson "painful". Yet when it comes to deliberately making sensitive/intimate data about people public that basically is what you're advocating for: the potential emotional harm that can be done to the people involved is off the charts.