1He who is emasculated by crushing or cutting shall not enter into Yahweh’s assembly. 2A person born of a forbidden union shall not enter into Yahweh’s assembly; even to the tenth generation shall no one of his enter into Yahweh’s assembly. 3An Ammonite or a Moabite shall not enter into Yahweh’s assembly; even to the tenth generation shall no one belonging to them enter into Yahweh’s assembly forever, 4because they didn’t meet you with bread and with water on the way when you came out of Egypt, and because they hired against you Balaam the son of Beor from Pethor of Mesopotamia, to curse you. 5Nevertheless Yahweh your God wouldn’t listen to Balaam, but Yahweh your God turned the curse into a blessing to you, because Yahweh your God loved you. 6You shall not seek their peace nor their prosperity all your days forever. 7You shall not abhor an Edomite, for he is your brother. You shall not abhor an Egyptian, because you lived as a foreigner in his land. 8The children of the third generation who are born to them may enter into Yahweh’s assembly.
9When you go out and camp against your enemies, then you shall keep yourselves from every evil thing. 10If there is among you any man who is not clean by reason of that which happens to him by night, then shall he go outside of the camp. He shall not come within the camp; 11but it shall be, when evening comes, he shall bathe himself in water. When the sun is down, he shall come within the camp. 12You shall have a place also outside of the camp where you go relieve yourself. 13You shall have a trowel among your weapons. It shall be, when you relieve yourself, you shall dig with it, and shall turn back and cover your excrement; 14for Yahweh your God walks in the middle of your camp, to deliver you, and to give up your enemies before you. Therefore your camp shall be holy, that he may not see an unclean thing in you, and turn away from you.
15You shall not deliver to his master a servant who has escaped from his master to you. 16He shall dwell with you, among you, in the place which he shall choose within one of your gates, where it pleases him best. You shall not oppress him.
17There shall be no prostitute of the daughters of Israel, neither shall there be a sodomite of the sons of Israel. 18You shall not bring the hire of a prostitute, or the wages of a male prostitute, into the house of Yahweh your God for any vow; for both of these are an abomination to Yahweh your God.
19You shall not lend on interest to your brother: interest of money, interest of food, interest of anything that is lent on interest. 20You may charge a foreigner interest; but you shall not charge your brother interest, that Yahweh your God may bless you in all that you put your hand to, in the land where you go in to possess it.
21When you vow a vow to Yahweh your God, you shall not be slack to pay it, for Yahweh your God will surely require it of you; and it would be sin in you. 22But if you refrain from making a vow, it shall be no sin in you. 23You shall observe and do that which has gone out of your lips. Whatever you have vowed to Yahweh your God as a free will offering, which you have promised with your mouth, you must do. 24When you come into your neighbor’s vineyard, then you may eat your fill of grapes at your own pleasure; but you shall not put any in your container. 25When you come into your neighbor’s standing grain, then you may pluck the ears with your hand; but you shall not use a sickle on your neighbor’s standing grain.
Balaam is known from the Bible as a non-Israelite prophet (Num 22-24, 31:8, 16; Deut 23:4, 5; Josh 13:22; 24:9, 10; Neh 13:2; Micah 6:5; 2 Peter 2:15; Jude 11; and Rev 2:14).
Bryant Wood describes its importance to biblical studies:
In an unprecedented discovery, an ancient text found at Deir Alla, Jordan, in 1967 tells about the activities of a prophet named Balaam. Could this be the Balaam of the Old Testament? The text makes it clear that it is. Three times in the first four lines he is referred to as “Balaam son of Beor,” exactly as in the Bible. This represents the first Old Testament prophet to be dug up in Bible lands — not his tomb or his skeleton, but a text about him. The text also represents the first prophecy of any scope from the ancient West Semitic world to be found outside the Old Testament, and the first extra-Biblical example of a prophet proclaiming doom to his own people. … It was among the rubble of a building destroyed in an earthquake. It seems to have been one long column with at least 50 lines, displayed on a plastered wall. According to the excavators’ dating, the disaster was most likely the severe earthquake which occurred in the time of King Uzziah (Azariah) and the prophet Amos in about 760 BC (Amos 1:1; Zech 14:5). The lower part of the text shows signs of wear, indicating that it had been on the wall for some time prior to the earthquake.1.
P. Kyle McCarter Jr. has provided a recent translation of the document:
The sa]ying[s of Bala]am, [son of Be]or, the man who was a seer of the gods. Lo! Gods came to him in the night [and spoke to] him (2) according to these w[ord]s. Then they said to [Bala]am, son of Beor, thus: Let someone make a [ ] hearafter, so that [what] you have hea[rd may be se]en!” (3) And Balaam rose in the morning [ ] right hand [ ] and could not [eat] and wept (4) aloud. Then his people came in to him [and said] to Balaam, son of Beor, “Do you fast? [ ] Do you weep?” And he (5) said to them, “Si[t] do]wn! I shall inform you what the Shad[dayin have done]. Now come, see the deeds of the g[o]ds!. The g[o]ds have gathered (6) and the Shaddayin have taken their places in the assembly and said to Sh[ , thus:] 'Sew the skies shut with your thick cloud! There let there be darkness and no (7) perpetual shining and n[o] radiance! For you will put a sea[l upon the thick] cloud of darkness and you will not remove it forever! For the swift has (8) reproached the eagle, the voice of vultures resounds. The st[ork has ] the young of the NHS-bird and ripped up the chicks of the heron. The swallow has belittled (9) the dove, and the sparrow [ ] and [ ] the staff. Instead of ewes the stick is driven along. Hares have eaten (10) [ ]. Freemen [] have drunk wine, and hyenas have listened to instruction. The whelps of the (11) f[ox] laughs at wise men, and the poor woman has mixed myrhh, and the priestess (12) [ ] to the one who wears a girdle of threads. The esteemed esteems and the esteemer is es[teemed. ] and everyone has seen those things that decree offspring and young. (15) [ ] to the leopard. The piglet has chased the young (16) [of] those who are girded and the eye ....2.