2 Peter 2:16

but he received a rebuke for his own transgression, for a mute donkey, speaking with a voice of a man, restrained the madness of the prophet.

Numbers 22:21-33

So Balaam arose in the morning, and saddled his donkey and went with the leaders of Moab.

Ecclesiastes 7:25

I directed my mind to know, to investigate and to seek wisdom and an explanation, and to know the evil of folly and the foolishness of madness.

Ecclesiastes 9:3

This is an evil in all that is done under the sun, that there is one fate for all men. Furthermore, the hearts of the sons of men are full of evil and insanity is in their hearts throughout their lives. Afterwards they go to the dead.

Hosea 9:7

The days of punishment have come,
The days of retribution have come;
Let Israel know this!
The prophet is a fool,
The inspired man is demented,
Because of the grossness of your iniquity,
And because your hostility is so great.

Luke 16:11

Therefore if you have not been faithful in the use of unrighteous wealth, who will entrust the true riches to you?

Acts 26:11

And as I punished them often in all the synagogues, I tried to force them to blaspheme; and being furiously enraged at them, I kept pursuing them even to foreign cities.

Acts 26:24-25

While Paul was saying this in his defense, Festus *said in a loud voice, “Paul, you are out of your mind! Your great learning is driving you mad.”

Treasury of Scripture Knowledge

Summary

But was rebuked for his iniquity: the dumb ass speaking with man's voice forbad the madness of the prophet.

The dumb

Bible References

The dumb

Numbers 22:22
But God was angry because he was going, and the angel of the Lord took his stand in the way as an adversary against him. Now he was riding on his donkey and his two servants were with him.

The madness

Ecclesiastes 7:25
I directed my mind to know, to investigate and to seek wisdom and an explanation, and to know the evil of folly and the foolishness of madness.
Ecclesiastes 9:3
This is an evil in all that is done under the sun, that there is one fate for all men. Furthermore, the hearts of the sons of men are full of evil and insanity is in their hearts throughout their lives. Afterwards they go to the dead.
Hosea 9:7
The days of punishment have come,
The days of retribution have come;
Let Israel know this!
The prophet is a fool,
The inspired man is demented,
Because of the grossness of your iniquity,
And because your hostility is so great.
Luke 16:11
Therefore if you have not been faithful in the use of unrighteous wealth, who will entrust the true riches to you?
Acts 26:11
And as I punished them often in all the synagogues, I tried to force them to blaspheme; and being furiously enraged at them, I kept pursuing them even to foreign cities.