When the donkey saw the angel of the Lord standing in the road with a sword in his hand, the donkey left the road and went into the field. Balaam hit the donkey to force her back on the road.