Numbers 22:20-24
English Standard Version
Chapter 22
20And God came to Balaam at night and said to him, "If the men have come to call you, rise, go with them; but only do what I tell you." 21So Balaam rose in the morning and saddled his donkey and went with the princes of Moab.
22But God 's anger was kindled because he went, and the angel of the Lord took his stand in the way as his adversary. Now he was riding on the donkey, and his two servants were with him.
23And the donkey saw the angel of the Lord standing in the road, with a drawn sword in his hand. And the donkey turned aside out of the road and went into the field. And Balaam struck the donkey, to turn her into the road.
24Then the angel of the Lord stood in a narrow path between the vineyards, with a wall on either side.