37 Then Jacob took fresh rods of poplar and almond and plane, and peeled white streaks in them, exposing the white of the rods. 38 He set the rods which he had peeled in front of the flocks in the runnels, that is, the watering troughs, where the flocks came to drink. And since they bred when they came to drink, 39 the flocks bred in front of the rods and so the flocks brought forth striped, speckled, and spotted.
To help you understand the verses, let me give you some background information. Laban is taking all of Jacob’s beloved striped and spotted cattle. Jacob ends up with plain-colored cattle, and he is not happy with that at all; Not one bit. So Jacob comes up with a devious plan: he gets some sticks and creates stripes on them. He then sets them next to his cattle. What Jacob thinks is that if he gets his cattle to look at the striped sticks while mating, then they will give birth to striped young. And guess what, it actually works. The cattle give birth to striped young, and Jacob is filled with joy. However, this is not how genetics work. We have known more about genetics since Mendel worked with peas. This is a perfect example of showing that the bible is not the foundation of truth and knowledge that Christians try to claim for it.
Now, I realize some Christians will try to argue that God simply worked a miracle. But why didn't Jacob simply pray for striped cattle? He actually believed his plan would work and did work. Why would God allow him to believe this lie? How did this help mankind understand genetics when it occurred? Perhaps the biblical God prefers uneducated followers. I am sure it helps to keep them in line.
We also have this little oops on Gods part. When describing Solomon's Temple and its fixtures, Scripture tells of a great basin cast of molten brass "ten cubits from the one brim to the other: it was round all about, . . . and a line of thirty cubits did compass it round about" (I Kings 7:23).