People who work in jobs with professional confidentiality, do you really not tell anyone? why or why not?

I mean, I work with critical infrastructure.

So, yea, I don’t tell people any details of what I do because that would compromise the infrastructure. Not only am I not keen to commit a felony but I am also not keen to potentially aid an act of terrorism (likely domestic, but still).