1 Corinthians 2:10-12

God has revealed them to us through the Spirit. For the Spirit searches all things, even the depths of God.

James 1:5

If any of you lacks wisdom, let him ask of God, who gives to all generously and without reproach, and it will be given to him.

1 Corinthians 12:8

To one is given through the Spirit the word of wisdom, and to another the word of knowledge according to the same Spirit,

2 Timothy 3:16

All scripture is inspired by God and profitable for teaching, for reproof, for correction, and for training in righteousness;

Treasury of Scripture Knowledge

Summary

But there is a spirit in man: and the inspiration of the Almighty giveth them understanding.

General references

Bible References

The inspiration

1 Corinthians 2:10
God has revealed them to us through the Spirit. For the Spirit searches all things, even the depths of God.
1 Corinthians 12:8
To one is given through the Spirit the word of wisdom, and to another the word of knowledge according to the same Spirit,
2 Timothy 3:16
All scripture is inspired by God and profitable for teaching, for reproof, for correction, and for training in righteousness;
James 1:5
If any of you lacks wisdom, let him ask of God, who gives to all generously and without reproach, and it will be given to him.

General references

1 Corinthians 14:32
and the spirits of prophets are subject to prophets.