While processed foods consumption correlates with diseases, it's likely because food that's processed outside of your house typically includes ingredients (or preparation method) that either make it last longer or taste better at the expense of your health.
But that doesn't mean that processing is always harmful. Frozen fish is considered "processed", but freezing also kills parasites.