No. Law enforcement's job is to arrest and punish murderers, not prevent murders.
If that isn't the case in SF I'd say then that they have obviously failed on all levels at enforcing the law. Not to mention, punishment is definitely not the job of law enforcement.
[0]: https://www.findlaw.com/legalblogs/law-and-life/do-the-polic...
Not sure how that is relevant
That isn’t what the law has determined though. The law has only determined that police can’t be sued or imprisoned for failing to assist. It can be my job to pick up trash, but that doesn’t make it my legal obligation even under threat to my own life.