I don't know where you pulled that quote from, as it's very 'leading' which usually makes for a terrible quote. a better quote would be.
"A cop should uphold the law they swore an oath to protect, even if it means putting their own life at risk"
"A cop should uphold the law they swore an oath to protect, even if it means putting their own life at risk"