The scriptures are the language of the Holy Spirit:
Now we have received, not the spirit of the world, but the spirit which is of God; that we might know the things that are freely given to us of God. Which things also we speak, not in the words which man’s wisdom teacheth, but which the Holy Ghost teacheth; comparing spiritual things with spiritual.
–1 Corinthians 2:12-13
How did we receive them?
By the power of the Spirit [by God’s ability]. God chose to work through man to give His message to His people, carefully creating men for this purpose, even as we are all created for a purpose.
Consider what He said about the prophet Jeremiah:
Before I formed thee in the belly I knew thee; and before thou camest forth out of the womb I sanctified thee, and I ordained thee a prophet unto the nations.
And so, we see that, through the sovereignty of God and His infinite ability to do all things, whatsoever He chooses, He caused men to perfectly pen the Holy Scriptures:
Above all, you must understand that no prophecy of Scripture came about by the prophet’s own interpretation of things. For prophecy never had its origin in the human will, but prophets, though human, spoke from God as they were carried along by the Holy Spirit.
–2 Peter 1:20-21
The character and nature of the Holy Spirit is to consistently affirm the power of the Scriptures, as words of life.
In fact, the value that Christ places upon His words is equal to that of His Person:
For whosoever shall be ashamed of me and of my words, of him shall the Son of man be ashamed, when he shall come in his own glory, and in his Father’s, and of the holy angels.
We also see how much value God places upon His words in a psalm:
I will worship toward thy holy temple, and praise thy name for thy lovingkindness and for thy truth: for thou hast magnified thy word above all thy name.
And this same truth in echoed in the New Testament as well:
All scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness: That the man of God may be perfect, throughly furnished unto all good works.
–2 Timothy 3:16-17
Some things in the bible are hard to understand: wisdom dictates that, rather than rejecting these things on the basis of our lack of understanding, that we patiently wait upon God to reveal these things to us over time.