Numbers 22:22-24King James Version (KJV)
22 And God's anger was kindled because he went: and the angel of the Lord stood in the way for an adversary against him. Now he was riding upon his ass, and his two servants were with him.
23 And the ass saw the angel of the Lord standing in the way, and his sword drawn in his hand: and the ass turned aside out of the way, and went into the field: and Balaam smote the ass, to turn her into the way.
24 But the angel of the Lord stood in a path of the vineyards, a wall being on this side, and a wall on that side.