Numbers 23:4-5

4 aand God met Balaam. And Balaam said to him, “I have arranged the seven altars and I have offered on each altar a bull and a ram.” 5And the Lord bput a word in Balaam’s mouth and said, “Return to Balak, and thus you shall speak.”
Copyright information for ESV