And Bileam lifted up his eyes, and beheld Israel dwelling by his tribes; and the Spirit of prophecy rested upon him from before the Lord.