National security" means ensuring the stability of the state—even despite the objections of the People
Under unjust systems, "public safety" is of less interest, which is why the FBI spends its time chasing "enemies of the people" instead of the guys who robbed your local CVS.