The correct answer is Balaam. He was a pagan prophet that was sent by the King of the Moabites, Balak, to curse the Israeli people in three different occasions shortly after the death of Moses, but the son of Beor to Pethor blesses them instead because he could not act against God’s will.