Yep, their job is literally to enforce the law, not save lives or protect people, upheld by court cases stating as such.
https://www.barneslawllp.com/blog/police-not-required-protect
I really wish more people were aware of this... maybe then something could get done to change it(but I doubt it).