1 Samuel 19:23

He proceeded there to Naioth in Ramah; and the Spirit of God came upon him also, so that he went along prophesying continually until he came to Naioth in Ramah.

1 Samuel 10:10

When they came to the hill there, behold, a group of prophets met him; and the Spirit of God came upon him mightily, so that he prophesied among them.

1 Samuel 19:20

Then Saul sent messengers to take David, but when they saw the company of the prophets prophesying, with Samuel standing and presiding over them, the Spirit of God came upon the messengers of Saul; and they also prophesied.

Numbers 23:5

Then the Lord put a word in Balaam’s mouth and said, “Return to Balak, and you shall speak thus.”

Numbers 24:2

And Balaam lifted up his eyes and saw Israel camping tribe by tribe; and the Spirit of God came upon him.

Proverbs 16:9

The mind of man plans his way,
But the Lord directs his steps.

Proverbs 21:1

The king’s heart is like channels of water in the hand of the Lord;
He turns it wherever He wishes.

Matthew 7:22

Many will say to Me on that day, ‘Lord, Lord, did we not prophesy in Your name, and in Your name cast out demons, and in Your name perform many miracles?’

John 11:51

Now he did not say this on his own initiative, but being high priest that year, he prophesied that Jesus was going to die for the nation,

1 Corinthians 13:2

If I have the gift of prophecy, and know all mysteries and all knowledge; and if I have all faith, so as to remove mountains, but do not have love, I am nothing.

Treasury of Scripture Knowledge

Summary

And he went thither to Naioth in Ramah: and the Spirit of God was upon him also, and he went on, and prophesied, until he came to Naioth in Ramah.

Bible References

The spirit

1 Samuel 19:20
Then Saul sent messengers to take David, but when they saw the company of the prophets prophesying, with Samuel standing and presiding over them, the Spirit of God came upon the messengers of Saul; and they also prophesied.
1 Samuel 10:10
When they came to the hill there, behold, a group of prophets met him; and the Spirit of God came upon him mightily, so that he prophesied among them.
Numbers 23:5
Then the Lord put a word in Balaam’s mouth and said, “Return to Balak, and you shall speak thus.”
Numbers 24:2
And Balaam lifted up his eyes and saw Israel camping tribe by tribe; and the Spirit of God came upon him.
Matthew 7:22
Many will say to Me on that day, ‘Lord, Lord, did we not prophesy in Your name, and in Your name cast out demons, and in Your name perform many miracles?’
John 11:51
Now he did not say this on his own initiative, but being high priest that year, he prophesied that Jesus was going to die for the nation,
1 Corinthians 13:2
If I have the gift of prophecy, and know all mysteries and all knowledge; and if I have all faith, so as to remove mountains, but do not have love, I am nothing.

Until he came

Proverbs 16:9
The mind of man plans his way,
But the Lord directs his steps.
Proverbs 21:1
The king’s heart is like channels of water in the hand of the Lord;
He turns it wherever He wishes.

General references

1 Corinthians 14:32
and the spirits of prophets are subject to prophets;
1 Thessalonians 5:20
do not despise prophetic utterances.