The main reason for this law is public safety. Knives can be very dangerous weapons, and by keeping them out of the hands of people who might misuse them, it helps to keep everyone safe.