Deuteronomy 23:4

New International Version Bible (NIV)
For they did not come to meet you with bread and water on your way when you came out of Egypt, and they hired Balaam son of Beor from Pethor in Aram Naharaim[c] to pronounce a curse on you.

Read Deuteronomy 23:4 in other translations