2 When Balaam looked out and saw Israel encamped tribe by tribe, the Spirit of God came on him

Read Numbers 24:2 Using Other Translations

And Balaam lifted up his eyes, and he saw Israel abiding in his tents according to their tribes; and the spirit of God came upon him.
And Balaam lifted up his eyes and saw Israel camping tribe by tribe. And the Spirit of God came upon him,
where he saw the people of Israel camped, tribe by tribe. Then the Spirit of God came upon him,