VALID OR INVALID? WHICH FALLACY?

All criminal actions are bad things to do. All prosecutions fro murder, therefore, are bad things to do, since all prosecutions for murder are criminal actions.