Balaam, son of Beor was, according to the Bible, a gentile prophet and diviner who lived in Pethor, a place identified with the ancient city of Pitru.
Pitru is thought to have been located between the region of Iraq and northern Syria in what is now southeastern Turkey. According to the Book of Numbers, Balaam was hired by King Balak of Moab to curse Israel, but instead he blessed the Israelites, as dictated by God. Subsequently, the plan to entice the Israelites into idol worship and sexual immorality is attributed to him.
In rabbinic literature, Balaam is portrayed as a non-Israelite prophet with powers comparable to Moses but is often depicted negatively for his attempts to curse Israel, his role in leading them to sin, and his eventual execution. The Talmud emphasizes his importance by stating that Moses authored not only the Torah but also the section relating to Balaam.