Police work is not particularly dangerous. Even in the U.S. where almost half the police killed on the job are victims of homicide, dozens of occupations are more dangerous. Farmers are 3 times as likely to be killed on the job.
Construction workers are also more likely to be killed.
Airplane pilots are 6 times more likely to be killed on the job. Yes, police face a greater chance to be killed on the job than do accountants, but overall it's bullshit that police work is dangerous.