The Dutch civil servants collecting census data probably thought it was reasonable to create per-person records that included the tuple {address, religion}, which the Nazis used to create this[1] map of Jews living in Amsterdam (3/4 of the black dots on that map were murdered in the camps).
The problem with storing data that requires "certain processes" to ensure safety is that it might not be your decision. Governments collecting data is one example; others include desperate behavior by companies in bad financial situations or Equifax-style theft.
Someone trying to lose weight is probably able to resist the box of cookies in their pantry most of the time. Unfortunately being human means having occasional bad days where the will isn't necessarily up to the challenge. The responsible person recognizes that weaknesses exist and doesn't keep the box of cookies in the house.
I'm sure data will be handled safely most of the time, when it's easy. The real question is what will happen in difficult, morally problematic situations when the cost of acting ethically might include losing your job (or worse. One of the responsible way to handle that kind of problem is to avoid it entirely by not collecting the data.
[1] https://www.verzetsmuseum.org/uploads/archive/museum/topstuk...