Numbers 22:29 in the King James Version
And Balaam said unto the ass, Because thou hast mocked me: I would there were a sword in mine hand, for now would I kill thee.
Context
28 The LORD opened the mouth of the donkey, and she said to Balaam, “What have I done to you, that you have struck me these three times?”
29 Balaam said to the donkey, “Because you have mocked me, I wish there were a sword in my hand, for now I would have killed you.”
30 The donkey said to Balaam, “Am I not your donkey, on which you have ridden all your life long until today? Was I ever in the habit of doing so to you?” He said, “No.”