#What happened when Balaam raised his eyes and saw Israel camped, each in their own tribe?

When Balaam raised his eyes and saw Israel camped, the Spirit of God came on Balaam and he received a prophecy. [24:2-3]