I was in creative mode and I was trying to turn zombie villagers into villagers and then see if it would farm or try a villager farm. There is like a 10% chance of a villager spawning by spawn egg. I finally get a zombie villager after 100000000 gazillion hours and guess what? When I give it a golden apple and a weakness potion and it turns into a villager, all of the other zombies I spawned chased the villager and killed it. I forgot to kill the other zombies I had spawned. It was seriously 1 second after I celebrated that I finally got it right then the zombies striked. There were A LOT of zombies, so I didn't bother to save the villager
