And Balaam lifted up his eyes and saw Israel encamped according to their tribes, and the Spirit of God came upon him.