Free isn't a synonym for good or legal.
If something is “free” that means that you can get it legally without paying.
If something is only “free” by circumventing law, then that’s theft.