The heart conditions were due to the fats in the food, not for something in the chemical composition of pork meat. Then again, goat herders that didn't knew that the earth orbitted the sun wrote those holy books, so it's to be expected that they didn't knew any better.