221 The Israelites pitched their tents in the plains of Moab. 2 Balak, the king of Moab, saw what the Israelites did to the Amorites, and he feared that they'd do the same to him and his people.
Balak sent these men to say to me: 11 "There are people who came out of Egypt and now cover the face of the earth. Come to Moab and curse them, so I can drive them out.”
I won't go to Balak even if he gives me his house filled with silver and gold. God said I can't go and that's that. 19 But stay here tonight. Maybe God will change his mind.
If the men ask you to go with them, go with them. But only do what I tell you to do.
Balaam's donkey
21 So Balaam got up the next morning, saddled his donkey, and went with the princes of Moab.
22 God was angry with Balaam because he went with them, so he sent an angel as an adversary who stood in their way.
23 The donkey saw the angel standing in front of them with a sword in his hand, so she turned to go around him. And Balaam hit her to turn her the other way.
24-25 The angel was still in the way, so the donkey went close to the wall to avoid the angel, smashing Balaam's foot against the wall. So Balaam hit the donkey again.
26 This time the angel left no room to go around him. So the donkey gave up and fell down.
27 Balaam was so angry that hit the donkey again with his staff.
The Hebrew word for adversary is "Satan" - making this the first appearance of the word "Satan" in the Bible. It should probably be translated as "a satan" since it seems to be referring to a class of angel, rather than a specific being.
This episode reminds me of one of my favorite TV shows when I was a kid.