If someone were to come in and pull a gun, like what happened at Wedgwood Baptist Church in Texas, an officer or officers would show up and gladly lay down their lives to protect others. It really helps having been there myself. In my capacity as a chaplain, I often ride with an officer. But if he doesn't know that I used to be a cop, he treats me like an outsider and is very careful. The fa ade drops away, and then the real conversation begins.
Most officers live in the realm of the law both on the job and at home.
Their knowledge of God is legally based, with the ideas of right and wrong, good and bad. They carry out the policies of the justice system. They are enforcers on the street. However, that does not translate smoothly into one's home life. I've seen many officers who get controlling in their marriages and begin to make legalistic demands on their spouses and families.