And the spirit of God came upon him. God, who knows how to use evil instruments well, and is wont indifferently to bestow these kinds of gifts, caused the Spirit of Prophecy to come upon Balaam.