Sympathetic magic? How about Jacob putting steaks in ground with stripes to attract likelihood of his uncle’s sheep and goats producing speckled lambs and kids? Genesis 30:25-36. Magic? I think most likely it was standard practice in most ancient times and known to well-educated Jacob. Look at Stonehenge origins. Posts arranged in a circle possibly to attract mating ancient cows and bulls. Seems they knew posts attract mating livestock. But was sympathetic magic a part of it, the stripey posts attracting livestock with markings. Maybe just normal wisdom of the ancients.