If all citizens were locked away in a padded cell, the government would prevent all homicide, overdoses, rape, etc. Just because something prevents a suicide doesn't make it a good thing. I know you're saying the same thing, I'm just putting it more starkly.
There are other ways of preventing suicide, homicide, overdoses, rape, etc, which don't violate privacy, security, etc.