choconougat quoted Small Gods by Terry Pratchett
Then there was a day. In a sense, it was the first day.
Om had been aware of the shepherd for some ti-for a while. The flock had been wandering closer and closer. The rains had been sparse. Forage was scarce. Hungry mouths propelled hungry legs further into the rocks, searching out the hitherto scorned clumps of sun-seared grass.
They were sheep, possibly the most stupid animal in the universe with the possible exception of the duck. But even their uncomplicated minds couldn't hear the voice, because sheep don't listen.
There was a lamb, though. It had strayed a little way. Om saw to it that it strayed a little further. Around a rock. Down the slope. Into the crevice.
Its bleating drew the mother.
The crevice was well hidden and the ewe was, after all, content now that she had her lamb. She saw no reason to bleat, even when the shepherd wandered about the rocks calling, cursing, and, eventually, pleading. The shepherd had a hundred sheep, and it might have been surprising that he was prepared to spend days searching for one sheep; in fact, it was because he was the kind of man prepared to spend days looking for a lost sheep that he had a hundred sheep.
The voice that was going to be Om waited.
It was on the evening of the second day that he scared up a partridge that had been nesting near the crevice, just as the shepherd was wandering by.
It wasn't much of a miracle, but it was good enough for the shepherd. He made a cairn of stones at the spot and, next day, brought his whole flock into the area. And in the heat of the afternoon he lay down to sleep-and Om spoke to him, inside his head.
Three weeks later the shepherd was stoned to death by the priests of Ur-Gilash, who was at that time the chief god in the area. But they were too late. Om already had a hundred believers, and the number was growing . . .
Only a mile away from the shepherd and his flock was a goatherd and his herd. The merest accident of microgeography had meant that the first man to hear the voice of Om, and who gave Om his view of humans, was a shepherd and not a goatherd. They have quite different ways of looking at the world, and the whole of history might have been different.
For sheep are stupid, and have to be driven. But goats are intelligent, and need to be led.
— Small Gods by Terry Pratchett (33%)
I do have a vague impression that later in Feet of Clay, it was a goat leading other goats into the slaughterhouse. Sorta continuity there. (?)