And God came unto Balaam at night, and said unto him, If the men come to call thee, rise up, and go with them; but yet the word which I shall say unto thee, that shalt thou do. And Balaam rose up in the morning, and saddled his ass, and went with the princes of Moab. 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. 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. 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. And when the ass saw the angel of the LORD, she thrust herself unto the wall, and crushed Balaam's foot against the wall: and he smote her again. And the angel of the LORD went further, and stood in a narrow place, where was no way to turn either to the right hand or to the left. And when the ass saw the angel of the LORD, she fell down under Balaam: and Balaam's anger was kindled, and he smote the ass with a staff. And the LORD opened the mouth of the ass, and she said unto Balaam, What have I done unto thee, that thou hast smitten me these three times? 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. And the ass said unto Balaam, Am not I thine ass, upon which thou hast ridden ever since I was thine unto this day? was I ever wont to do so unto thee? And he said, Nay. Then the LORD opened the eyes of Balaam, and he saw the angel of the LORD standing in the way, and his sword drawn in his hand: and he bowed down his head, and fell flat on his face. And the angel of the LORD said unto him, Wherefore hast thou smitten thine ass these three times? behold, I went out to withstand thee, because thy way is perverse before me: And the ass saw me, and turned from me these three times: unless she had turned from me, surely now also I had slain thee, and saved her alive. And Balaam said unto the angel of the LORD, I have sinned; for I knew not that thou stoodest in the way against me: now therefore, if it displease thee, I will get me back again.
Balaam sinned against God by not doing what he was told. God was going to punish Balaam, but his donkey protected him.
Balaam didn't know his donkey was protecting him and was angry with the apparent disobedience of the donkey. How ironic that he beat his donkey for his disobedience when he had just been disobedient to God.
How many times do we get frustrated and angry over things that are meant to protect us? Have you often been upset about a slow driver in front of you? What if because of that slow driver, you were spared from an accident? Have you ever been upset about a leaky pipe? What if finding that leaky pipe allowed you to fix it before major damage was done or the insurance money allowed desired updates.
Let us be joyful in all things as the Lord is at work for us. What we may initially see as bad is actually good.