2 Samuel 24:17
And David spoke to Jehovah when he saw the angel that smote among the people, and said, Behold, it is I that have sinned, and it is I that have committed iniquity; but these sheep, what have they done? let thy hand, I pray thee, be on me, and on my father's house!
And the ass saw the Angel of Jehovah 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.
And the ass saw the Angel of Jehovah, and she pressed herself against the wall, and crushed Balaam's foot against the wall; and he smote her again.
And the ass saw the Angel of Jehovah, and lay down under Balaam; and Balaam's anger was kindled, and he smote the ass with his staff.
And the ass saw me, and turned from me these three times; had she not turned from me, I had now certainly slain thee, and saved her alive.
Then Jehovah opened the eyes of Balaam, and he saw the Angel of Jehovah standing in the way, and his sword drawn in his hand; and he bowed and prostrated himself on his face.