Voters in California saw no reason to allow genuine cruelty upon animals raised for food. There is Biblical basis for this. A righteous man shows mercy upon his beast. But, the more-gentle practices of the farmer, a man or a woman or an entire family with a conscience, have given way to mechanized, industrial scale food production, from start to finish. Will Californians pay more for eggs, chicken, pork, veal and beef? Probably. Will this be a boon to nearby states that do not prohibit such practices? Probably. But, this is no reason to mock California voters. There are plenty enough reasons other than this.
How about you point to the passage which states this.