Why do people think making firearms illegal would really work?

Drugs are illegal.
Murder is illegal.
Illegal aliens are illegal.
List could go on and on.

All these things are illegal, just doesn't seem to be working very well.