What you are missing is this: security is a feeling, not a real thing.
It makes people feel secure when they undergo some minor inconvenience like showing their ID multiple times.
There is no such thing as "real" security. We are all going to die sometime. We are all going to get sick. "Real" security is a lie.
Meanwhile, can I please check your ID, sir? It's For Your Protection.