Joshua 24:9-10

24:9 Balak son of Zippor, king of Moab, launched an attack against Israel. He summoned Balaam son of Beor to call down judgment on you. 24:10 I refused to respond to Balaam; he kept prophesying good things about you, and I rescued you from his power.