This is a misnomer.
Cops are not actually "to protect and serve", and this has been proven in court.
Their function is to uphold the law. That's it.