These fish grew large enough for humans to eye as food, because parasites were effectively limited by the immune system from devouring the entire fish. It's not perfectly effective, but it doesn't need to be.