Who said, "What have I done to you to make you beat me these three times?"
Well, it was a donkey, and he was complaining to his owner, Balaam. You can read the story in Numbers 22:22-35. Looks like Disney has some biblical support for all those talking animals!
Above is Rembrandt's painting of the scene.
And here's a more modern commentary by illustrator Michael Walker.